@resolveio/client-lib-core 0.0.12 → 0.0.13
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -4360,14 +4360,7 @@ class CoreComponent extends BaseComponent {
|
|
|
4360
4360
|
this._services._socket.subscribeBypassRoute('flagWithType', 'newSW').subscribe(flag => {
|
|
4361
4361
|
if (firstTimeSWFlag && flag) {
|
|
4362
4362
|
if (!this.invalidVersion) {
|
|
4363
|
-
|
|
4364
|
-
let interval = setInterval(() => {
|
|
4365
|
-
if (count <= 0) {
|
|
4366
|
-
clearInterval(interval);
|
|
4367
|
-
return;
|
|
4368
|
-
}
|
|
4369
|
-
this._services._alert.setAlert('info', 'This page will reload in ' + (count--) + ' seconds!', 600);
|
|
4370
|
-
}, 1000);
|
|
4363
|
+
this._services._alert.setAlert('info', 'This page will reload once new version has been downloaded', 0);
|
|
4371
4364
|
}
|
|
4372
4365
|
}
|
|
4373
4366
|
firstTimeSWFlag = true;
|