mirror of
https://github.com/Unleash/unleash.git
synced 2025-06-27 01:19:00 +02:00
fix: hide project archive in OSS (#10004)
https://linear.app/unleash/issue/2-3569/fix-hide-project-archive-in-oss Hides "project archive" in OSS. I believe this is a bug. OSS only has one project and the project archive was acting unexpectedly anyways since it was showing the same default project as being archived. This is because in OSS we use the OSS project-controller, not the Enterprise version (override) of it.
This commit is contained in:
parent
ffdf85c8b8
commit
995d69a352
@ -93,6 +93,7 @@ exports[`returns all baseRoutes 1`] = `
|
||||
},
|
||||
{
|
||||
"component": [Function],
|
||||
"enterprise": true,
|
||||
"menu": {},
|
||||
"path": "/projects-archive",
|
||||
"title": "Projects archive",
|
||||
|
@ -126,6 +126,7 @@ export const routes: IRoute[] = [
|
||||
component: ArchiveProjectList,
|
||||
type: 'protected',
|
||||
menu: {},
|
||||
enterprise: true,
|
||||
},
|
||||
|
||||
// Flags overview
|
||||
|
@ -78,7 +78,7 @@ export const ProjectList = () => {
|
||||
}
|
||||
/>
|
||||
|
||||
<ProjectArchiveLink />
|
||||
{!isOss() && <ProjectArchiveLink />}
|
||||
<ProjectCreationButton
|
||||
isDialogOpen={Boolean(state.create)}
|
||||
setIsDialogOpen={(create) =>
|
||||
|
Loading…
Reference in New Issue
Block a user