renamed compatible storage keys for better migration after merge #2280

Signed-off-by: Roman <ixrock@gmail.com>
This commit is contained in:
Roman committed 2021-03-04 19:26:21 +02:00
1 parent 63f0d918db
commit ae90f44d65
2 files changed
+2 -2

No files matched your search

@@ -30,7 +30,7 @@ export class ClusterOverviewStore extends KubeObjectStore<Cluster> {
this.resetMetrics();
// sync user setting with local storage
const storage = createStorage("cluster_metric_switchers", {});
const storage = createStorage("cluster_overview", {});
Object.assign(this, storage.get());
reaction(() => {
@@ -5,7 +5,7 @@ import { Namespace, namespacesApi } from "../../api/endpoints/namespaces.api";
import { createPageParam } from "../../navigation";
import { apiManager } from "../../api/api-manager";
const storage = createStorage<string[]>("context_namespaces");
const storage = createStorage<string[]>("selected_namespaces");
export const namespaceUrlParam = createPageParam<string[]>({
name: "namespaces",