@stemy/ngx-utils 13.2.3 → 13.2.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.
@@ -1362,7 +1362,7 @@ class StateService extends BehaviorSubject {
1362
1362
  return;
1363
1363
  const routerStateSnapshot = this.router.routerState.snapshot;
1364
1364
  let snapshot = routerStateSnapshot.root;
1365
- let context = this.contexts.getContext("primary");
1365
+ let context = this.contexts?.getContext("primary");
1366
1366
  let segments = snapshot.url;
1367
1367
  const components = [];
1368
1368
  const snapshots = [];