diff --git a/pkg/dashboard/static/actions.js b/pkg/dashboard/static/actions.js
index 8f79465..e58a7ae 100644
--- a/pkg/dashboard/static/actions.js
+++ b/pkg/dashboard/static/actions.js
@@ -112,7 +112,8 @@ $("#upgradeModal .btn-confirm").click(function () {
}).done(function (data) {
if (data.version) {
setHashParam("section", null)
- setHashParam("namespace", $("#upgradeModal .rel-ns").val())
+ const ns = $("#upgradeModal .rel-ns").val();
+ setHashParam("namespace", ns ? ns : "default")
setHashParam("chart", $("#upgradeModal .rel-name").val())
setHashParam("revision", data.version)
window.location.reload()
diff --git a/pkg/dashboard/static/index.html b/pkg/dashboard/static/index.html
index 132b0f9..a1e0607 100644
--- a/pkg/dashboard/static/index.html
+++ b/pkg/dashboard/static/index.html
@@ -44,9 +44,6 @@
-
-
-

-
-
@@ -99,7 +110,7 @@
-
+
@@ -150,6 +161,9 @@
+ Looks like you don't have any charts
+ installed. "Repository" section may be a good place to start.
+
@@ -254,6 +268,9 @@
data-mode="diff-rev">
Diff with specific revision:
+
diff --git a/pkg/dashboard/static/list-view.js b/pkg/dashboard/static/list-view.js
index 212a806..e3d804f 100644
--- a/pkg/dashboard/static/list-view.js
+++ b/pkg/dashboard/static/list-view.js
@@ -12,6 +12,10 @@ function loadChartsList() {
let card = buildChartCard(elm);
chartsCards.append(card)
})
+
+ if (!data.length) {
+ $("#installedList .no-charts").show()
+ }
})
}
diff --git a/pkg/dashboard/static/styles.css b/pkg/dashboard/static/styles.css
index 40a8db5..914417c 100644
--- a/pkg/dashboard/static/styles.css
+++ b/pkg/dashboard/static/styles.css
@@ -76,6 +76,10 @@
min-width: 60%;
}
+.fs-80 {
+ font-size: 0.8rem!important;
+}
+
html {
min-height: 100%;
}