@flexem/fc-gui 3.0.0-alpha.56 → 3.0.0-alpha.57
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/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
|
+
this.onProviderChanged(null, this.host.context);
|
|
198
|
+
return;
|
|
199
|
+
}
|
|
197
200
|
const toggleView = this.viewService.toggleViews.get(this.el);
|
|
198
201
|
if (!toggleView) {
|
|
199
202
|
return;
|
|
200
203
|
}
|
|
201
|
-
toggleView(
|
|
204
|
+
toggleView(this.host.currentViewIndex, this.hostContainerId, this.el).subscribe();
|
|
202
205
|
}
|
|
203
206
|
};
|
|
204
207
|
__decorate([
|