mirror of
https://github.com/komodorio/helm-dashboard.git
synced 2026-03-24 11:48:04 +00:00
Display correct message on installed charts page in case of an error instead of the current loading spinner (#127)
Co-authored-by: Harshit Mehta <harshitm@nvidia.com>
This commit is contained in:
@@ -6,6 +6,7 @@ function loadChartsList() {
|
|||||||
$.getJSON("/api/helm/charts").fail(function (xhr) {
|
$.getJSON("/api/helm/charts").fail(function (xhr) {
|
||||||
sendStats('Get releases', {'status': 'failed'});
|
sendStats('Get releases', {'status': 'failed'});
|
||||||
reportError("Failed to get list of charts", xhr)
|
reportError("Failed to get list of charts", xhr)
|
||||||
|
chartsCards.empty().append("<div class=\"row m-0 py-4 bg-white rounded-1 b-shadow border-4 border-start\"><div class=\"col\">Failed to get list of charts</div></div>")
|
||||||
}).done(function (data) {
|
}).done(function (data) {
|
||||||
chartsCards.empty().hide()
|
chartsCards.empty().hide()
|
||||||
const usedNS = {}
|
const usedNS = {}
|
||||||
|
|||||||
Reference in New Issue
Block a user