Skip to content

Commit 113fb2e

Browse files
committed
Merge branch 'feat/env-list-header' of https://github.com/devtron-labs/dashboard into feat/env-list-header
2 parents 6b8221c + bd786ec commit 113fb2e

File tree

4 files changed

+11
-11
lines changed

4 files changed

+11
-11
lines changed

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
"private": true,
55
"homepage": "/dashboard",
66
"dependencies": {
7-
"@devtron-labs/devtron-fe-common-lib": "1.18.1-pre-1",
7+
"@devtron-labs/devtron-fe-common-lib": "1.18.0-alpha-7",
88
"@esbuild-plugins/node-globals-polyfill": "0.2.3",
99
"@rjsf/core": "^5.13.3",
1010
"@rjsf/utils": "^5.13.3",

src/components/ApplicationGroup/List/EnvironmentsList.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,7 @@ const EnvironmentsList = ({ isSuperAdmin }: AppGroupAdminType) => {
8383
const [clusterListLoading, clusterListRes, clusterListError, reloadClusterList] =
8484
useAsync(getClusterListMinWithoutAuth)
8585

86-
const clusterOptions: SelectPickerOptionType[] = useMemo(
86+
const clusterOptions: SelectPickerOptionType<string, string>[] = useMemo(
8787
() =>
8888
clusterListRes?.result.map((clusterItem) => ({
8989
label: clusterItem.cluster_name,

src/components/Jobs/Types.ts

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -99,9 +99,9 @@ export interface JobListPayload
9999
}
100100

101101
export interface JobsMasterFilters {
102-
status: SelectPickerOptionType[]
103-
projects: SelectPickerOptionType[]
104-
environments: SelectPickerOptionType[]
102+
status: SelectPickerOptionType<JobListStatusDTO, JobListStatus>[]
103+
projects: SelectPickerOptionType<string, string>[]
104+
environments: SelectPickerOptionType<string, string>[]
105105
}
106106

107107
export interface JobListFilterConfig
@@ -122,7 +122,7 @@ export interface JobListProps
122122
jobListCount: number
123123
openJobCreateModel: (event) => void
124124
setJobCount: React.Dispatch<React.SetStateAction<number>>
125-
getLabelFromValue: (filterKey: JobListUrlFilters, filterValue: string) => React.ReactNode
125+
getLabelFromValue: (filterKey: JobListUrlFilters, filterValue: string) => string
126126
}
127127

128128
export interface JobListViewProps

yarn.lock

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1722,9 +1722,9 @@ __metadata:
17221722
languageName: node
17231723
linkType: hard
17241724

1725-
"@devtron-labs/devtron-fe-common-lib@npm:1.18.1-pre-1":
1726-
version: 1.18.1-pre-1
1727-
resolution: "@devtron-labs/devtron-fe-common-lib@npm:1.18.1-pre-1"
1725+
"@devtron-labs/devtron-fe-common-lib@npm:1.18.0-alpha-7":
1726+
version: 1.18.0-alpha-7
1727+
resolution: "@devtron-labs/devtron-fe-common-lib@npm:1.18.0-alpha-7"
17281728
dependencies:
17291729
"@codemirror/autocomplete": "npm:6.18.6"
17301730
"@codemirror/lang-json": "npm:6.0.1"
@@ -1774,7 +1774,7 @@ __metadata:
17741774
react-select: 5.8.0
17751775
rxjs: ^7.8.1
17761776
yaml: ^2.4.1
1777-
checksum: 10c0/af4699e7a37da3ece8c6d708c13dfe4f0909fc17290ec810d93d19b47ec03e03ab3fa5acc0c6021819203aad64e47fe1daa574ed4759c803f51950e1c83449a1
1777+
checksum: 10c0/22e793a3908903ffd36755b0f63fc2c41a452fe4599d986c7dd7c372a1ceff9f5751668e53b61fd12ef03bd72ed9c6b0a7e2ee9ae4c03bc8f035703427d5d344
17781778
languageName: node
17791779
linkType: hard
17801780

@@ -5721,7 +5721,7 @@ __metadata:
57215721
version: 0.0.0-use.local
57225722
resolution: "dashboard@workspace:."
57235723
dependencies:
5724-
"@devtron-labs/devtron-fe-common-lib": "npm:1.18.1-pre-1"
5724+
"@devtron-labs/devtron-fe-common-lib": "npm:1.18.0-alpha-7"
57255725
"@esbuild-plugins/node-globals-polyfill": "npm:0.2.3"
57265726
"@playwright/test": "npm:^1.32.1"
57275727
"@rjsf/core": "npm:^5.13.3"

0 commit comments

Comments
 (0)