Skip to content

Commit 9a4474d

Browse files
authored
Merge pull request #2107 from devtron-labs/fix/app-group-listing
fix: app group listing
2 parents cc8c438 + 1e938d0 commit 9a4474d

File tree

4 files changed

+4
-4
lines changed

4 files changed

+4
-4
lines changed

src/components/ApplicationGroup/AppGroup.service.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -197,7 +197,7 @@ export const getEnvAppList = (
197197
signal?: AbortSignal,
198198
): Promise<EnvAppType> => {
199199
const options = signal ? { signal } : null
200-
const { searchKey = '', cluster = [], offset = 0, pageSize = 20 } = filterConfig ?? {}
200+
const { searchKey = '', cluster = [], offset, pageSize } = filterConfig ?? {}
201201
const params: GetEnvAppListParamsType = {
202202
envName: searchKey,
203203
clusterIds: cluster?.join(),

src/components/app/details/appDetails/AppDetails.tsx

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,6 @@ import {
3434
ReleaseMode,
3535
ToastVariantType,
3636
ToastManager,
37-
handleUTCTime,
3837
} from '@devtron-labs/devtron-fe-common-lib'
3938
import { Link, useParams, useHistory, useRouteMatch, generatePath, Route, useLocation } from 'react-router-dom'
4039
import Tippy from '@tippyjs/react'

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)