Skip to content

Commit 88d219c

Browse files
authored
Merge pull request #2108 from devtron-labs/fix/helm-app-search
chore: fix helm app search based on chart name
2 parents a1ce16e + 83d0c72 commit 88d219c

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)