1
0
mirror of https://github.com/Unleash/unleash.git synced 2025-02-23 00:22:19 +01:00

chore: update project overview to flags (#7247)

This PR changes the project screen by calling the main tab "flags"
instead of "overview". There isn't really an overview available on that
tab anymore, only a list of flags.
This commit is contained in:
Thomas Heartman 2024-06-04 09:35:17 +02:00 committed by GitHub
parent cadf3fb061
commit 048d604518
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 4 additions and 4 deletions

View File

@ -20,7 +20,7 @@ import useQueryParams from 'hooks/useQueryParams';
import { useEffect, useState } from 'react';
import ProjectEnvironment from '../ProjectEnvironment/ProjectEnvironment';
import { ProjectFeaturesArchive } from './ProjectFeaturesArchive/ProjectFeaturesArchive';
import ProjectOverview from './ProjectOverview';
import ProjectFlags from './ProjectFlags';
import ProjectHealth from './ProjectHealth/ProjectHealth';
import PermissionIconButton from 'component/common/PermissionIconButton/PermissionIconButton';
import { UPDATE_FEATURE } from 'component/providers/AccessProvider/permissions';
@ -85,9 +85,9 @@ export const Project = () => {
const tabs: ITab[] = [
{
title: 'Overview',
title: 'Flags',
path: basePath,
name: 'overview',
name: 'flags',
},
{
title: 'Insights',
@ -323,7 +323,7 @@ export const Project = () => {
/>
<Route path='settings/*' element={<ProjectSettings />} />
<Route path='applications' element={<ProjectApplications />} />
<Route path='*' element={<ProjectOverview />} />
<Route path='*' element={<ProjectFlags />} />
</Routes>
<ImportModal
open={modalOpen}