From 1bb3c8d9ed94b9120956638c01426ed87f2bbf8b Mon Sep 17 00:00:00 2001 From: Pranav C Date: Fri, 17 May 2024 09:35:50 +0000 Subject: [PATCH] fix: acl check --- .../dashboard/settings/DataSources.vue | 4 +++- .../components/dashboard/settings/Modal.vue | 23 ++++++++++++------- 2 files changed, 18 insertions(+), 9 deletions(-) diff --git a/packages/nc-gui/components/dashboard/settings/DataSources.vue b/packages/nc-gui/components/dashboard/settings/DataSources.vue index ca3590b035..b9a2bfe9c2 100644 --- a/packages/nc-gui/components/dashboard/settings/DataSources.vue +++ b/packages/nc-gui/components/dashboard/settings/DataSources.vue @@ -25,6 +25,8 @@ const { isDataSourceLimitReached } = storeToRefs(basesStore) const baseStore = useBase() const { base } = storeToRefs(baseStore) +const { isUIAllowed } = useRoles() + const { projectPageTab } = storeToRefs(useConfigStore()) const { refreshCommandPalette } = useCommandPalette() @@ -270,7 +272,7 @@ const openedTab = ref('erd') - -
- - -
- {{ tab.title }} +