!853 修复:同步图标未出现时执行TOGGLESYNCDATA导致的错误

pull/853/MERGE
肖诗雅 5 years ago committed by ChenX
parent 5852ebd822
commit 88a2f3070c

@ -49,6 +49,7 @@ export class ToolbarContainer extends React.Component<{}, {}> {
if (cmdName === "TOGGLESYNCDATA")
{
let icon = this.iconList.find(icon => icon?.command === "TOGGLESYNCDATA");
if (icon)
if (app.SyncDataReactor.Enable)
{
icon.svg = IconEnum.Synchronizing;

Loading…
Cancel
Save