mirror of
https://github.com/komodorio/helm-dashboard.git
synced 2026-03-24 11:48:04 +00:00
Right place for msg
This commit is contained in:
@@ -221,6 +221,7 @@ $("#btnUpgradeCheck").click(function () {
|
|||||||
self.find(".bi-repeat").hide()
|
self.find(".bi-repeat").hide()
|
||||||
self.find(".spinner-border").show()
|
self.find(".spinner-border").show()
|
||||||
const repoName = self.data("repo")
|
const repoName = self.data("repo")
|
||||||
|
$("#btnUpgrade").text("Checking...")
|
||||||
$.post("/api/helm/repo/update?name=" + repoName).fail(function () {
|
$.post("/api/helm/repo/update?name=" + repoName).fail(function () {
|
||||||
reportError("Failed to update chart repo")
|
reportError("Failed to update chart repo")
|
||||||
}).done(function () {
|
}).done(function () {
|
||||||
@@ -234,7 +235,6 @@ $("#btnUpgradeCheck").click(function () {
|
|||||||
|
|
||||||
|
|
||||||
function checkUpgradeable(name) {
|
function checkUpgradeable(name) {
|
||||||
$("#btnUpgrade").text("Checking...")
|
|
||||||
$.getJSON("/api/helm/repo/search?name=" + name).fail(function () {
|
$.getJSON("/api/helm/repo/search?name=" + name).fail(function () {
|
||||||
reportError("Failed to find chart in repo")
|
reportError("Failed to find chart in repo")
|
||||||
}).done(function (data) {
|
}).done(function (data) {
|
||||||
|
|||||||
Reference in New Issue
Block a user