From 960c2682240dbd3db70ebfeffddb77485d4b5ecc Mon Sep 17 00:00:00 2001 From: Harshit Mehta Date: Wed, 30 Nov 2022 20:02:38 +0530 Subject: [PATCH] Display correct message on installed charts page in case of an error instead of the current loading spinner (#127) Co-authored-by: Harshit Mehta --- pkg/dashboard/static/list-view.js | 1 + 1 file changed, 1 insertion(+) diff --git a/pkg/dashboard/static/list-view.js b/pkg/dashboard/static/list-view.js index 9fd10f5..ca2ee23 100644 --- a/pkg/dashboard/static/list-view.js +++ b/pkg/dashboard/static/list-view.js @@ -6,6 +6,7 @@ function loadChartsList() { $.getJSON("/api/helm/charts").fail(function (xhr) { sendStats('Get releases', {'status': 'failed'}); reportError("Failed to get list of charts", xhr) + chartsCards.empty().append("
Failed to get list of charts
") }).done(function (data) { chartsCards.empty().hide() const usedNS = {}