Browse Source

fix(admin-ui): Template type check error

Michael Bromley 7 years ago
parent
commit
c4fcb01ee1

+ 1 - 1
admin-ui/src/app/administrator/components/role-detail/role-detail.component.ts

@@ -57,7 +57,7 @@ export class RoleDetailComponent extends BaseDetailComponent<Role> implements On
         }
     }
 
-    setPermission(key: Permission, value: boolean) {
+    setPermission(key: string, value: boolean) {
         this.permissions[key] = value;
         this.permissionsChanged = true;
     }