@indigina/ui-kit 1.1.248 → 1.1.249
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.
|
@@ -6798,7 +6798,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.3", ngImpor
|
|
|
6798
6798
|
}], ctorParameters: () => [{ type: i0.ElementRef }, { type: i0.NgZone }] });
|
|
6799
6799
|
|
|
6800
6800
|
const kitHasPermission = (permission, permissions) => {
|
|
6801
|
-
if (!permission
|
|
6801
|
+
if (!permission?.category) {
|
|
6802
6802
|
return true;
|
|
6803
6803
|
}
|
|
6804
6804
|
const categoryPermissions = permissions[permission.category];
|