mirror of
https://github.com/komodorio/helm-dashboard.git
synced 2026-03-26 14:28:04 +00:00
fix namespaces not updating when switching cluster (#102)
This commit is contained in:
@@ -13,7 +13,6 @@ $(function () {
|
|||||||
fillClusterList(data, context);
|
fillClusterList(data, context);
|
||||||
|
|
||||||
initView(); // can only do it after loading cluster list
|
initView(); // can only do it after loading cluster list
|
||||||
})
|
|
||||||
|
|
||||||
$.getJSON("/api/kube/namespaces").fail(function (xhr) {
|
$.getJSON("/api/kube/namespaces").fail(function (xhr) {
|
||||||
reportError("Failed to get namespaces", xhr)
|
reportError("Failed to get namespaces", xhr)
|
||||||
@@ -26,6 +25,8 @@ $(function () {
|
|||||||
}))
|
}))
|
||||||
})
|
})
|
||||||
})
|
})
|
||||||
|
})
|
||||||
|
|
||||||
|
|
||||||
$.getJSON("/api/scanners").fail(function (xhr) {
|
$.getJSON("/api/scanners").fail(function (xhr) {
|
||||||
reportError("Failed to get list of scanners", xhr)
|
reportError("Failed to get list of scanners", xhr)
|
||||||
|
|||||||
Reference in New Issue
Block a user