@indigina/ui-kit 1.1.313 → 1.1.314
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.
|
@@ -7530,7 +7530,7 @@ class KitGridViewsComponent {
|
|
|
7530
7530
|
this.skipQueryParamsUpdate = signal(false, ...(ngDevMode ? [{ debugName: "skipQueryParamsUpdate" }] : []));
|
|
7531
7531
|
this.needToResetQueryParams = signal(false, ...(ngDevMode ? [{ debugName: "needToResetQueryParams" }] : []));
|
|
7532
7532
|
this.userPermissions = this.store.selectSignal(KIT_USER_PERMISSIONS_STATE_TOKEN);
|
|
7533
|
-
this.allowedSystemViews = computed(() => this.systemViews().filter(view => view.permission
|
|
7533
|
+
this.allowedSystemViews = computed(() => this.systemViews().filter(view => view.permission ? kitHasPermission(view.permission, this.userPermissions()) : true), ...(ngDevMode ? [{ debugName: "allowedSystemViews" }] : []));
|
|
7534
7534
|
}
|
|
7535
7535
|
ngOnInit() {
|
|
7536
7536
|
this.fetchViews();
|