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