mirror of
https://github.com/Unleash/unleash.git
synced 2025-02-09 00:18:00 +01:00
1-3125: Update project navigation for the simplified view (#8770)
The changes are: - Change "Flags" to "Overview" - Also hide "Insights" and "Health" - Change "Project settings" to "Settings"
This commit is contained in:
parent
046573174b
commit
f89bc33645
@ -144,23 +144,23 @@ export const Project = () => {
|
||||
|
||||
const tabs: ITab[] = [
|
||||
{
|
||||
title: 'Flags',
|
||||
title: simplifyProjectOverview ? 'Overview' : 'Flags',
|
||||
path: basePath,
|
||||
name: 'flags',
|
||||
},
|
||||
{
|
||||
title: 'Insights',
|
||||
path: `${basePath}/insights`,
|
||||
name: 'insights',
|
||||
},
|
||||
{
|
||||
title: 'Health',
|
||||
path: `${basePath}/health`,
|
||||
name: 'health',
|
||||
},
|
||||
...(simplifyProjectOverview
|
||||
? []
|
||||
: [
|
||||
{
|
||||
title: 'Insights',
|
||||
path: `${basePath}/insights`,
|
||||
name: 'insights',
|
||||
},
|
||||
{
|
||||
title: 'Health',
|
||||
path: `${basePath}/health`,
|
||||
name: 'health',
|
||||
},
|
||||
{
|
||||
title: 'Archived flags',
|
||||
path: `${basePath}/archive`,
|
||||
@ -185,7 +185,7 @@ export const Project = () => {
|
||||
name: 'logs',
|
||||
},
|
||||
{
|
||||
title: 'Project settings',
|
||||
title: simplifyProjectOverview ? 'Settings' : 'Project settings',
|
||||
path: `${basePath}/settings`,
|
||||
ossPath: `${basePath}/settings/api-access`,
|
||||
name: 'settings',
|
||||
|
Loading…
Reference in New Issue
Block a user