Make k8s context a URL param

This commit is contained in:
Andrei Pohilko
2022-09-28 15:00:10 +01:00
parent c1732c86a5
commit 870a1196f0
3 changed files with 16 additions and 13 deletions

View File

@@ -33,7 +33,7 @@ function buildChartCard(elm) {
statusStyle(elm.status, card, card.find(".rel-status span"))
card.find("a").attr("href", '#namespace=' + elm.namespace + '&name=' + elm.name)
card.find("a").attr("href", '#context=' + getHashParam('context') + '&namespace=' + elm.namespace + '&name=' + elm.name)
card.find(".rel-name span").data("chart", elm).click(function () {
const self = $(this)