Skip to content

Commit 83d0c72

Browse files
committed
fix: search helm app on chart name
1 parent a1ce16e commit 83d0c72

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

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

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -105,7 +105,9 @@ const HelmAppList = ({
105105
let filteredHelmAppList: HelmApp[] = [...devtronInstalledHelmAppsList, ...externalHelmAppsList]
106106
if (searchKey) {
107107
const searchLowerCase = searchKey.toLowerCase()
108-
filteredHelmAppList = filteredHelmAppList.filter((app) => app.appName.includes(searchLowerCase))
108+
filteredHelmAppList = filteredHelmAppList.filter(
109+
(app) => app.appName.includes(searchLowerCase) || app.chartName.includes(searchLowerCase),
110+
)
109111
}
110112
if (project.length) {
111113
const projectMap = new Map<string, true>(project.map((projectId) => [projectId, true]))

0 commit comments

Comments
 (0)