@flexem/fc-gui 3.0.0-alpha.56 → 3.0.0-alpha.58
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/CHANGELOG.md +10 -0
- package/bundles/@flexem/fc-gui.umd.js +6 -3
- package/bundles/@flexem/fc-gui.umd.js.map +1 -1
- package/bundles/@flexem/fc-gui.umd.min.js +1 -1
- package/bundles/@flexem/fc-gui.umd.min.js.map +1 -1
- package/gui/gui.component.d.ts +1 -1
- package/gui/gui.component.js +6 -3
- package/package.json +1 -1
package/gui/gui.component.d.ts
CHANGED
package/gui/gui.component.js
CHANGED
|
@@ -193,12 +193,15 @@ let GuiComponent = class GuiComponent {
|
|
|
193
193
|
this.globalSettings.displayMode = this.isMobileMode ? DisplayMode.Mobile : DisplayMode.Web;
|
|
194
194
|
}
|
|
195
195
|
refreshCurrentPage() {
|
|
196
|
-
|
|
196
|
+
if (this.host.currentViewIndex === undefined) {
|
|
197
|
+
return false;
|
|
198
|
+
}
|
|
197
199
|
const toggleView = this.viewService.toggleViews.get(this.el);
|
|
198
200
|
if (!toggleView) {
|
|
199
|
-
return;
|
|
201
|
+
return false;
|
|
200
202
|
}
|
|
201
|
-
toggleView(
|
|
203
|
+
toggleView(this.host.currentViewIndex, this.hostContainerId, this.el).subscribe();
|
|
204
|
+
return true;
|
|
202
205
|
}
|
|
203
206
|
};
|
|
204
207
|
__decorate([
|