@smartbit4all/ng-client 1.1.17 → 1.1.18

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.
@@ -2144,8 +2144,8 @@ class SmartViewContextService {
2144
2144
  if (!uuid) {
2145
2145
  uuid = this.getUuidOfPage(this.tabIdName);
2146
2146
  }
2147
- await this.getViewContext(uuid).then(() => {
2148
- this.syncView();
2147
+ await this.getViewContext(uuid).then(async () => {
2148
+ await this.syncView();
2149
2149
  });
2150
2150
  }
2151
2151
  async getViewContext(uuid) {
@@ -2307,8 +2307,8 @@ class SmartViewContextService {
2307
2307
  if (!this.viewContext) {
2308
2308
  await this.getViewContext(uuid);
2309
2309
  }
2310
- this.viewContext.views.map((view) => {
2311
- this.openView(view);
2310
+ this.viewContext.views.map(async (view) => {
2311
+ await this.openView(view);
2312
2312
  });
2313
2313
  }
2314
2314
  async syncView() {
@@ -2467,7 +2467,7 @@ class SmartViewContextService {
2467
2467
  }
2468
2468
  async handlePerformActionResponse(viewContextChange) {
2469
2469
  this.viewContext = viewContextChange?.viewContext;
2470
- this.syncView();
2470
+ await this.syncView();
2471
2471
  if (viewContextChange?.changes) {
2472
2472
  this.handleChanges(viewContextChange.changes);
2473
2473
  }