Skip to content

Commit

Permalink
fix filter bug (#111)
Browse files Browse the repository at this point in the history
  • Loading branch information
ronahk committed Nov 24, 2022
1 parent 15adeb7 commit 717adc9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/dashboard/static/scripts.js
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
Expand Down

0 comments on commit 717adc9

Please sign in to comment.