Skip to content

Commit 4f634b8

Browse files
committed
fix: api payload for helm app list filters
1 parent c835d51 commit 4f634b8

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ export const getDevtronInstalledHelmApps = (
4141
): Promise<HelmAppListResponse> => {
4242
const baseUrl = Routes.CHART_INSTALLED
4343
const params: GetDevtronHelmAppListParamsType = {
44-
clusterIdsCsv,
44+
clusterIds: clusterIdsCsv,
4545
appStatuses,
4646
}
4747
const url = getUrlWithSearchParams(baseUrl, params)

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

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -194,6 +194,7 @@ export interface useFilterOptionsProps
194194
| 'isExternalFlux'
195195
> {}
196196

197-
export interface GetDevtronHelmAppListParamsType extends Pick<HelmAppListProps, 'clusterIdsCsv'> {
197+
export interface GetDevtronHelmAppListParamsType {
198198
appStatuses: string
199+
clusterIds: string
199200
}

0 commit comments

Comments
 (0)