@indigina/ui-kit 1.1.585 → 1.1.586

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.
@@ -14432,7 +14432,8 @@ class KitGridViewsComponent {
14432
14432
  return;
14433
14433
  }
14434
14434
  const previousView = this.selectedView();
14435
- const isViewSelectionChanged = previousView?.title !== currentView.title || previousView?.type !== currentView.type;
14435
+ const isViewSelectionChanged = previousView !== null &&
14436
+ (previousView.title !== currentView.title || previousView.type !== currentView.type);
14436
14437
  this.store.dispatch(new SetSelectedView(currentView)).subscribe(() => {
14437
14438
  this.updateGridState(currentView, isViewSelectionChanged);
14438
14439
  });