fix namespaces not updating when switching cluster (#102)

This commit is contained in:
ronahk
2022-11-16 11:59:38 +02:00
committed by GitHub
parent 1393b117cf
commit d0dbb42492

View File

@@ -13,7 +13,6 @@ $(function () {
fillClusterList(data, context);
initView(); // can only do it after loading cluster list
})
$.getJSON("/api/kube/namespaces").fail(function (xhr) {
reportError("Failed to get namespaces", xhr)
@@ -26,6 +25,8 @@ $(function () {
}))
})
})
})
$.getJSON("/api/scanners").fail(function (xhr) {
reportError("Failed to get list of scanners", xhr)