diff --git a/package-lock.json b/package-lock.json index ea736189f..7f0356083 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "@devtron-labs/devtron-fe-common-lib", - "version": "1.22.6", + "version": "1.22.7", "lockfileVersion": 3, "requires": true, "packages": { "": { "name": "@devtron-labs/devtron-fe-common-lib", - "version": "1.22.6", + "version": "1.22.7", "hasInstallScript": true, "license": "ISC", "dependencies": { diff --git a/package.json b/package.json index 03267f878..36f9c9cf4 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@devtron-labs/devtron-fe-common-lib", - "version": "1.22.6", + "version": "1.22.7", "description": "Supporting common component library", "type": "module", "main": "dist/index.js", diff --git a/src/Common/Constants.ts b/src/Common/Constants.ts index 9d8c58914..83531a6a7 100644 --- a/src/Common/Constants.ts +++ b/src/Common/Constants.ts @@ -99,7 +99,6 @@ export const URLS = { APPLICATION_MANAGEMENT_TEMPLATES_DEVTRON_APP_CREATE: `${APPLICATION_MANAGEMENT_TEMPLATES_DEVTRON_APP}/create`, // NOTE: using appId since we are re-using AppConfig component APPLICATION_MANAGEMENT_TEMPLATES_DEVTRON_APP_DETAIL: `${APPLICATION_MANAGEMENT_TEMPLATES_DEVTRON_APP}/detail/:appId`, - APPLICATION_MANAGEMENT_PROJECTS: `${APPLICATION_MANAGEMENT_ROOT}/projects`, APPLICATION_MANAGEMENT_CONFIGURATIONS, APPLICATION_MANAGEMENT_CONFIGURATIONS_DEPLOYMENT_CHARTS: `${APPLICATION_MANAGEMENT_CONFIGURATIONS}/deployment-charts`, APPLICATION_MANAGEMENT_CONFIGURATIONS_SCOPED_VARIABLES: `${APPLICATION_MANAGEMENT_CONFIGURATIONS}/scoped-variables`, @@ -151,6 +150,7 @@ export const URLS = { GLOBAL_CONFIG: GLOBAL_CONFIG_ROOT, GLOBAL_CONFIG_DOCKER: `${GLOBAL_CONFIG_ROOT}/docker`, GLOBAL_CONFIG_EDIT_CLUSTER: `${GLOBAL_CONFIG_ROOT}/cluster-env/edit/:clusterId`, + GLOBAL_CONFIG_PROJECTS: `${GLOBAL_CONFIG_ROOT}/projects`, PERMISSION_GROUPS: `${GLOBAL_CONFIG_ROOT}/auth/groups`, EXTERNAL_APPS: 'ea', } as const diff --git a/src/Pages-Devtron-2.0/Navigation/types.ts b/src/Pages-Devtron-2.0/Navigation/types.ts index fb8fb1f65..c0dcc41cf 100644 --- a/src/Pages-Devtron-2.0/Navigation/types.ts +++ b/src/Pages-Devtron-2.0/Navigation/types.ts @@ -8,7 +8,6 @@ export type NavigationItemID = | 'application-management-application-groups' | 'application-management-bulk-edit' | 'application-management-application-templates' - | 'application-management-projects' | 'application-management-configurations' | 'application-management-policies' | 'infrastructure-management-overview' @@ -39,6 +38,7 @@ export type NavigationItemID = | 'global-configuration-cluster-and-environments' | 'global-configuration-container-oci-registry' | 'global-configuration-authorization' + | 'global-configuration-projects' | 'data-protection-overview' | 'data-protection-backup-and-schedule' | 'data-protection-restores'