diff --git a/packages/nc-gui/components/dashboard/settings/Modal.vue b/packages/nc-gui/components/dashboard/settings/Modal.vue index ebc2cc828e..e9f7546f3f 100644 --- a/packages/nc-gui/components/dashboard/settings/Modal.vue +++ b/packages/nc-gui/components/dashboard/settings/Modal.vue @@ -53,20 +53,24 @@ const tabsInfo: TabGroup = { title: t('title.teamAndAuth'), icon: TeamFillIcon, subTabs: { - ...(isUIAllowed('userMgmtTab') && { - usersManagement: { - // Users Management - title: t('title.userMgmt'), - body: UserManagement, - }, - }), - ...(isUIAllowed('apiTokenTab') && { - apiTokenManagement: { - // API Tokens Management - title: t('title.apiTokenMgmt'), - body: ApiTokenManagement, - }, - }), + ...(isUIAllowed('userMgmtTab') + ? { + usersManagement: { + // Users Management + title: t('title.userMgmt'), + body: UserManagement, + }, + } + : {}), + ...(isUIAllowed('apiTokenTab') + ? { + apiTokenManagement: { + // API Tokens Management + title: t('title.apiTokenMgmt'), + body: ApiTokenManagement, + }, + } + : {}), }, onClick: () => { $e('c:settings:team-auth') diff --git a/packages/nc-gui/components/general/FullScreen.vue b/packages/nc-gui/components/general/FullScreen.vue index d24dcb8030..4667c01daa 100644 --- a/packages/nc-gui/components/general/FullScreen.vue +++ b/packages/nc-gui/components/general/FullScreen.vue @@ -16,7 +16,7 @@ const isSidebarsOpen = computed({ -
+