From 717adc9e9c395e4ecb23bd8b48d912ed336b9a61 Mon Sep 17 00:00:00 2001 From: ronahk <74967920+ronahk@users.noreply.github.com> Date: Thu, 24 Nov 2022 13:40:30 +0200 Subject: [PATCH] fix filter bug (#111) --- pkg/dashboard/static/scripts.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkg/dashboard/static/scripts.js b/pkg/dashboard/static/scripts.js index e86b0736..e396886e 100644 --- a/pkg/dashboard/static/scripts.js +++ b/pkg/dashboard/static/scripts.js @@ -309,7 +309,7 @@ $("#cacheClear").click(function () { function showHideInstalledRelease(card, filteredNamespaces, filterStr) { let releaseNamespace = card.data("namespace") let releaseName = card.data("name") - let chartName = card.data("chart") + let chartName = card.data("chart").chart const shownByNS = !filteredNamespaces || filteredNamespaces.split('+').includes(releaseNamespace); const shownByStr = releaseName.indexOf(filterStr) >= 0 || chartName.indexOf(filterStr) >= 0 if (shownByNS && shownByStr) {