1
0
mirror of https://github.com/lensapp/lens.git synced 2025-05-20 05:10:56 +00:00

renamed compatible storage keys for better migration after merge #2280

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

View File

@ -30,7 +30,7 @@ export class ClusterOverviewStore extends KubeObjectStore<Cluster> {
this.resetMetrics(); this.resetMetrics();
// sync user setting with local storage // sync user setting with local storage
const storage = createStorage("cluster_metric_switchers", {}); const storage = createStorage("cluster_overview", {});
Object.assign(this, storage.get()); Object.assign(this, storage.get());
reaction(() => { reaction(() => {

View File

@ -5,7 +5,7 @@ import { Namespace, namespacesApi } from "../../api/endpoints/namespaces.api";
import { createPageParam } from "../../navigation"; import { createPageParam } from "../../navigation";
import { apiManager } from "../../api/api-manager"; import { apiManager } from "../../api/api-manager";
const storage = createStorage<string[]>("context_namespaces"); const storage = createStorage<string[]>("selected_namespaces");
export const namespaceUrlParam = createPageParam<string[]>({ export const namespaceUrlParam = createPageParam<string[]>({
name: "namespaces", name: "namespaces",