|
|
|
@ -56,41 +56,43 @@ const tabsInfo: TabGroup = {
|
|
|
|
|
subTabs: { |
|
|
|
|
...(isUIAllowed('userMgmtTab') |
|
|
|
|
? { |
|
|
|
|
usersManagement: { |
|
|
|
|
// Users Management |
|
|
|
|
title: t('title.userMgmt'), |
|
|
|
|
body: UserManagement, |
|
|
|
|
}, |
|
|
|
|
} |
|
|
|
|
usersManagement: { |
|
|
|
|
// Users Management |
|
|
|
|
title: t('title.userMgmt'), |
|
|
|
|
body: UserManagement, |
|
|
|
|
}, |
|
|
|
|
} |
|
|
|
|
: {}), |
|
|
|
|
...(isUIAllowed('apiTokenTab') |
|
|
|
|
? { |
|
|
|
|
apiTokenManagement: { |
|
|
|
|
// API Tokens Management |
|
|
|
|
title: t('title.apiTokenMgmt'), |
|
|
|
|
body: ApiTokenManagement, |
|
|
|
|
}, |
|
|
|
|
} |
|
|
|
|
apiTokenManagement: { |
|
|
|
|
// API Tokens Management |
|
|
|
|
title: t('title.apiTokenMgmt'), |
|
|
|
|
body: ApiTokenManagement, |
|
|
|
|
}, |
|
|
|
|
} |
|
|
|
|
: {}), |
|
|
|
|
}, |
|
|
|
|
onClick: () => { |
|
|
|
|
$e('c:settings:team-auth') |
|
|
|
|
}, |
|
|
|
|
}, |
|
|
|
|
appStore: { |
|
|
|
|
// App Store |
|
|
|
|
title: t('title.appStore'), |
|
|
|
|
icon: StoreFrontOutline, |
|
|
|
|
subTabs: { |
|
|
|
|
new: { |
|
|
|
|
title: 'Apps', |
|
|
|
|
body: AppStore, |
|
|
|
|
}, |
|
|
|
|
}, |
|
|
|
|
onClick: () => { |
|
|
|
|
$e('c:settings:appstore') |
|
|
|
|
}, |
|
|
|
|
}, |
|
|
|
|
}, ...(isUIAllowed('appStore') |
|
|
|
|
? { |
|
|
|
|
appStore: { |
|
|
|
|
// App Store |
|
|
|
|
title: t('title.appStore'), |
|
|
|
|
icon: StoreFrontOutline, |
|
|
|
|
subTabs: { |
|
|
|
|
new: { |
|
|
|
|
title: 'Apps', |
|
|
|
|
body: AppStore, |
|
|
|
|
}, |
|
|
|
|
}, |
|
|
|
|
onClick: () => { |
|
|
|
|
$e('c:settings:appstore') |
|
|
|
|
}, |
|
|
|
|
} |
|
|
|
|
: {}), |
|
|
|
|
projMetaData: { |
|
|
|
|
// Project Metadata |
|
|
|
|
title: t('title.projMeta'), |
|
|
|
|