Skip to content

Commit

Permalink
Fixes #91 (#93)
Browse files Browse the repository at this point in the history
Co-authored-by: Harshit Mehta <[email protected]>
  • Loading branch information
harshit-mehtaa and Harshit Mehta authored Nov 11, 2022
1 parent 3f00e8e commit cf407c6
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion pkg/dashboard/static/list-view.js
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,8 @@ function buildChartCard(elm) {
<div class="col-1 rel-date text-nowrap"><span>today</span><div>Updated</div></div>
</div>`)

$.getJSON("/api/helm/repo/search?name=" + elm.name).fail(function (xhr) {
const chartName = elm.chart.substr(0, elm.chart.lastIndexOf("-"))
$.getJSON("/api/helm/repo/search?name=" + chartName).fail(function (xhr) {
reportError("Failed to get repo name for charts", xhr)
}).done(function (data) {
if(data.length > 0) {
Expand Down

0 comments on commit cf407c6

Please sign in to comment.