@smartbit4all/ng-client 1.0.2 → 1.0.4

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.
@@ -2177,6 +2177,7 @@ class SmartViewContextService {
2177
2177
  async performAction(uuid, uiActionRequest) {
2178
2178
  let viewContextChange = await this.view.performAction(uuid, uiActionRequest).toPromise();
2179
2179
  this.viewContext = viewContextChange?.viewContext;
2180
+ this.syncView();
2180
2181
  if (viewContextChange?.changes) {
2181
2182
  this.handleChanges(viewContextChange.changes);
2182
2183
  }
@@ -3607,8 +3608,16 @@ class SmartSubject extends Subject {
3607
3608
  super();
3608
3609
  this.unsubscribe$ = unsubscribe$;
3609
3610
  }
3610
- subscribe(next, error, complete) {
3611
- const subscription = super.subscribe(next, error, complete);
3611
+ subscribe(observerOrNext, error, complete) {
3612
+ if (typeof observerOrNext === "object") {
3613
+ const next = observerOrNext.next;
3614
+ observerOrNext.next = (value) => {
3615
+ if (next) {
3616
+ next.call(observerOrNext, value);
3617
+ }
3618
+ };
3619
+ }
3620
+ const subscription = super.subscribe(observerOrNext, error, complete);
3612
3621
  subscription.add(this.unsubscribe$.subscribe());
3613
3622
  return subscription;
3614
3623
  }