Remove version check for charts without repo (#54)

Co-authored-by: Harshit Mehta <harshitm@nvidia.com>
This commit is contained in:
Harshit Mehta
2022-10-28 19:52:20 +05:30
committed by GitHub
parent 9bb597f366
commit c5f9f71e45
2 changed files with 7 additions and 1 deletions

View File

@@ -26,9 +26,11 @@ function checkUpgradeable(name) {
$("#btnUpgrade .icon").removeClass("bi-hourglass-split").addClass("bi-x-octagon")
$("#btnUpgrade").prop("disabled", true)
$("#btnUpgradeCheck").prop("disabled", true)
$("#btnAddRepository").text("Add missing repository")
return
}
$("#btnUpgradeCheck").text("Check for new version")
const verCur = $("#specRev").data("last-chart-ver");
const elm = data[0]
$("#btnUpgradeCheck").data("repo", elm.name.split('/').shift())