1
0
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:
Nuno Góis 2025-05-15 14:45:29 +01:00 committed by GitHub
parent ffdf85c8b8
commit 995d69a352
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
3 changed files with 3 additions and 1 deletions

View File

@ -93,6 +93,7 @@ exports[`returns all baseRoutes 1`] = `
},
{
"component": [Function],
"enterprise": true,
"menu": {},
"path": "/projects-archive",
"title": "Projects archive",

View File

@ -126,6 +126,7 @@ export const routes: IRoute[] = [
component: ArchiveProjectList,
type: 'protected',
menu: {},
enterprise: true,
},
// Flags overview

View File

@ -78,7 +78,7 @@ export const ProjectList = () => {
}
/>
<ProjectArchiveLink />
{!isOss() && <ProjectArchiveLink />}
<ProjectCreationButton
isDialogOpen={Boolean(state.create)}
setIsDialogOpen={(create) =>