diff --git a/src/public/app/widgets/sync_status.js b/src/public/app/widgets/sync_status.js
index a4633b683..0aaa28bc5 100644
--- a/src/public/app/widgets/sync_status.js
+++ b/src/public/app/widgets/sync_status.js
@@ -46,6 +46,11 @@ const TPL = `
+
+
+
@@ -83,8 +88,7 @@ export default class SyncStatusWidget extends BasicWidget {
ws.subscribeToMessages(message => this.processMessage(message));
- // extra window doesn't know the status of the sync so it's better to hide it
- this.syncState = appContext.isMainWindow ? 'disconnected' : 'unknown';
+ this.syncState = 'unknown';
this.allChangesPushed = false;
}
@@ -144,9 +148,9 @@ export default class SyncStatusWidget extends BasicWidget {
this.allChangesPushed = lastSyncedPush === ws.getMaxKnownEntityChangeSyncId();
}
- if (this.syncState === 'in-progress') {
- this.showIcon('in-progress');
- } else if (this.syncState !== 'unknown') {
+ if (this.syncState === 'unknown') {
+ this.showIcon('unknown');
+ } else {
this.showIcon(this.syncState + '-' + (this.allChangesPushed ? 'no-changes' : 'with-changes'));
}
}