Skip to content

Commit 871cedb

Browse files
Merge pull request #1006 from devtron-labs/fix/ea-project
fix: add constants required for project navigation movement to global config
2 parents 2184abe + ad8c301 commit 871cedb

4 files changed

Lines changed: 5 additions & 5 deletions

File tree

package-lock.json

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@devtron-labs/devtron-fe-common-lib",
3-
"version": "1.22.6",
3+
"version": "1.22.7",
44
"description": "Supporting common component library",
55
"type": "module",
66
"main": "dist/index.js",

src/Common/Constants.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -99,7 +99,6 @@ export const URLS = {
9999
APPLICATION_MANAGEMENT_TEMPLATES_DEVTRON_APP_CREATE: `${APPLICATION_MANAGEMENT_TEMPLATES_DEVTRON_APP}/create`,
100100
// NOTE: using appId since we are re-using AppConfig component
101101
APPLICATION_MANAGEMENT_TEMPLATES_DEVTRON_APP_DETAIL: `${APPLICATION_MANAGEMENT_TEMPLATES_DEVTRON_APP}/detail/:appId`,
102-
APPLICATION_MANAGEMENT_PROJECTS: `${APPLICATION_MANAGEMENT_ROOT}/projects`,
103102
APPLICATION_MANAGEMENT_CONFIGURATIONS,
104103
APPLICATION_MANAGEMENT_CONFIGURATIONS_DEPLOYMENT_CHARTS: `${APPLICATION_MANAGEMENT_CONFIGURATIONS}/deployment-charts`,
105104
APPLICATION_MANAGEMENT_CONFIGURATIONS_SCOPED_VARIABLES: `${APPLICATION_MANAGEMENT_CONFIGURATIONS}/scoped-variables`,
@@ -151,6 +150,7 @@ export const URLS = {
151150
GLOBAL_CONFIG: GLOBAL_CONFIG_ROOT,
152151
GLOBAL_CONFIG_DOCKER: `${GLOBAL_CONFIG_ROOT}/docker`,
153152
GLOBAL_CONFIG_EDIT_CLUSTER: `${GLOBAL_CONFIG_ROOT}/cluster-env/edit/:clusterId`,
153+
GLOBAL_CONFIG_PROJECTS: `${GLOBAL_CONFIG_ROOT}/projects`,
154154
PERMISSION_GROUPS: `${GLOBAL_CONFIG_ROOT}/auth/groups`,
155155
EXTERNAL_APPS: 'ea',
156156
} as const

src/Pages-Devtron-2.0/Navigation/types.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,6 @@ export type NavigationItemID =
88
| 'application-management-application-groups'
99
| 'application-management-bulk-edit'
1010
| 'application-management-application-templates'
11-
| 'application-management-projects'
1211
| 'application-management-configurations'
1312
| 'application-management-policies'
1413
| 'infrastructure-management-overview'
@@ -39,6 +38,7 @@ export type NavigationItemID =
3938
| 'global-configuration-cluster-and-environments'
4039
| 'global-configuration-container-oci-registry'
4140
| 'global-configuration-authorization'
41+
| 'global-configuration-projects'
4242
| 'data-protection-overview'
4343
| 'data-protection-backup-and-schedule'
4444
| 'data-protection-restores'

0 commit comments

Comments
 (0)