@resolveio/client-lib-core 1.0.7 → 1.0.9
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.
- package/esm2020/lib/core.component.mjs +3 -1
- package/esm2020/lib/models/dialog.model.mjs +1 -1
- package/fesm2015/resolveio-client-lib-core.mjs +2 -0
- package/fesm2015/resolveio-client-lib-core.mjs.map +1 -1
- package/fesm2020/resolveio-client-lib-core.mjs +2 -0
- package/fesm2020/resolveio-client-lib-core.mjs.map +1 -1
- package/lib/models/dialog.model.d.ts +1 -1
- package/package.json +1 -1
|
@@ -5042,8 +5042,10 @@ class CoreComponent extends BaseComponent {
|
|
|
5042
5042
|
this._services._socket.subscribeBypassRoute('flagWithType', 'newSW').subscribe(flag => {
|
|
5043
5043
|
if (flag) {
|
|
5044
5044
|
this.swFlagAlert = this._services._alert.setAlert('info', 'This page will reload once new version has been downloaded', 0);
|
|
5045
|
+
this._services._app.setIsInvalidSW(true);
|
|
5045
5046
|
}
|
|
5046
5047
|
else if (this.swFlagAlert) {
|
|
5048
|
+
this._services._app.setIsInvalidSW(false);
|
|
5047
5049
|
this._services._alert.clearAlert(this.swFlagAlert.toastId);
|
|
5048
5050
|
this.swFlagAlert = null;
|
|
5049
5051
|
}
|