Skip to content

Commit

Permalink
Release 0.2.3
Browse files Browse the repository at this point in the history
  • Loading branch information
undera committed Oct 26, 2022
1 parent 44787b3 commit 549cdd9
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 8 deletions.
2 changes: 1 addition & 1 deletion pkg/dashboard/static/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ <h1><a href="/">Helm Dashboard</a></h1>
<a class="nav-link px-3 section-repo">Repository</a>
</li>
<li class="nav-item dropdown">
<a class="nav-link dropdown-toggle" role="button" data-bs-toggle="dropdown"
<a class="nav-link dropdown-toggle section-help" role="button" data-bs-toggle="dropdown"
aria-expanded="false">
<span class="position-absolute top-50 start-0 translate-middle p-1 bg-danger border border-light rounded-circle new-version-pill display-none">
<span class="visually-hidden">New version</span>
Expand Down
15 changes: 9 additions & 6 deletions pkg/dashboard/static/scripts.js
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,15 @@ function initView() {

$("#topNav ul a").click(function () {
const self = $(this)
if (self.hasClass("section-help")) {
return;
}

$("#topNav ul a").removeClass("active")

const ctx = getHashParam("context")
setHashParam(null, null)
setHashParam("context", ctx)

if (self.hasClass("section-repo")) {
setHashParam("section", "repository")
Expand All @@ -59,12 +68,6 @@ $("#topNav ul a").click(function () {
return
}

$("#topNav ul a").removeClass("active")

const ctx = getHashParam("context")
setHashParam(null, null)
setHashParam("context", ctx)

initView()
})

Expand Down
2 changes: 1 addition & 1 deletion plugin.yaml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
name: "dashboard"
version: "0.2.2"
version: "0.2.3"
usage: "A simplified way of working with Helm"
description: "View HELM situation in nice web UI"
command: "$HELM_PLUGIN_DIR/bin/helm-dashboard"
Expand Down

0 comments on commit 549cdd9

Please sign in to comment.