Skip to content

Commit ae26fed

Browse files
committed
chore: rename: app list urls
1 parent 2bdf33a commit ae26fed

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

src/components/app/list-new/AppList.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ import { AppListPropType } from '../list/types'
4242
import { AddNewApp } from '../create/CreateApp'
4343
import '../list/list.scss'
4444
import EAEmptyState, { EAEmptyStateType } from '../../common/eaEmptyState/EAEmptyState'
45-
import { appListUrls, FLUX_CD_HELM_RELEASE_LABEL } from './Constants'
45+
import { APP_LISTING_URLS, FLUX_CD_HELM_RELEASE_LABEL } from './Constants'
4646
import { getModuleInfo } from '../../v2/devtronStackManager/DevtronStackManager.service'
4747
import {
4848
getAppStatusFormattedValue,
@@ -403,7 +403,7 @@ const AppList = ({ isArgoInstalled }: AppListPropType) => {
403403
function renderAppCreateRouter() {
404404
return (
405405
<Switch>
406-
{appListUrls.map((currentUrl) => (
406+
{APP_LISTING_URLS.map((currentUrl) => (
407407
<Route
408408
path={`${currentUrl}/${AppListConstants.CREATE_DEVTRON_APP_URL}`}
409409
key={currentUrl}

src/components/app/list-new/Constants.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -97,4 +97,4 @@ export const APPS_WITH_NO_PROJECT_OPTION: OptionType = {
9797
value: '0',
9898
}
9999

100-
export const appListUrls = [URLS.DEVTRON_APP_LIST, URLS.HELM_APP_LIST, URLS.ARGO_APP_LIST, URLS.FLUX_APP_LIST]
100+
export const APP_LISTING_URLS = [URLS.DEVTRON_APP_LIST, URLS.HELM_APP_LIST, URLS.ARGO_APP_LIST, URLS.FLUX_APP_LIST]

0 commit comments

Comments
 (0)