From ce93117f890ceb2348ffd7da2f8b1fe3645fbb49 Mon Sep 17 00:00:00 2001 From: mertmit Date: Tue, 26 Jul 2022 20:44:28 +0300 Subject: [PATCH] feat(gui-v2): improved UI ACL table role handling Signed-off-by: mertmit --- .../components/dashboard/settings/UIAcl.vue | 53 ++++++------------- 1 file changed, 15 insertions(+), 38 deletions(-) diff --git a/packages/nc-gui-v2/components/dashboard/settings/UIAcl.vue b/packages/nc-gui-v2/components/dashboard/settings/UIAcl.vue index b361ded48f..c50ff05a51 100644 --- a/packages/nc-gui-v2/components/dashboard/settings/UIAcl.vue +++ b/packages/nc-gui-v2/components/dashboard/settings/UIAcl.vue @@ -10,6 +10,7 @@ const { $api, $e } = useNuxtApp() const { project } = useProject() const toast = useToast() +const roles = $ref>(['editor', 'commenter', 'viewer']) let isLoading = $ref(false) let tables = $ref>([]) let searchInput = $ref('') @@ -123,44 +124,20 @@ const columns = [ {{ record.title }} -
- - - - -
-
- - - - -
-
- - - - +
+
+ + + + +