- fix: don't reset selected "all namespaces" on page reload (#2185)

- fix: don't reload namespaces on every page visit / NamespaceSelect.render()

Signed-off-by: Roman <ixrock@gmail.com>
This commit is contained in:
Roman authored and GitHub committed 2021-02-22 14:44:21 +02:00
1 parent 82d8181938
commit 25f4833117
3 files changed
+8 -7

No files matched your search

@@ -29,6 +29,7 @@ export class NamespaceSelect extends React.Component<Props> {
disposeOnUnmount(this, [
kubeWatchApi.subscribeStores([namespaceStore], {
preload: true,
loadOnce: true, // skip reloading namespaces on every render / page visit
})
]);
}