Skip to content

Commit

Permalink
Right place for msg
Browse files Browse the repository at this point in the history
  • Loading branch information
undera committed Sep 15, 2022
1 parent 6b8d959 commit d662849
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 @@ -221,6 +221,7 @@ $("#btnUpgradeCheck").click(function () {
self.find(".bi-repeat").hide()
self.find(".spinner-border").show()
const repoName = self.data("repo")
$("#btnUpgrade").text("Checking...")
$.post("/api/helm/repo/update?name=" + repoName).fail(function () {
reportError("Failed to update chart repo")
}).done(function () {
Expand All @@ -234,7 +235,6 @@ $("#btnUpgradeCheck").click(function () {


function checkUpgradeable(name) {
$("#btnUpgrade").text("Checking...")
$.getJSON("/api/helm/repo/search?name=" + name).fail(function () {
reportError("Failed to find chart in repo")
}).done(function (data) {
Expand Down

0 comments on commit d662849

Please sign in to comment.