mirror of
https://github.com/komodorio/helm-dashboard.git
synced 2026-03-24 11:48:04 +00:00
@@ -29,7 +29,8 @@ function buildChartCard(elm) {
|
|||||||
<div class="col-1 rel-date text-nowrap"><span>today</span><div>Updated</div></div>
|
<div class="col-1 rel-date text-nowrap"><span>today</span><div>Updated</div></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)
|
reportError("Failed to get repo name for charts", xhr)
|
||||||
}).done(function (data) {
|
}).done(function (data) {
|
||||||
if(data.length > 0) {
|
if(data.length > 0) {
|
||||||
|
|||||||
Reference in New Issue
Block a user