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:
parent
63f0d918db
commit
ae90f44d65
@ -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(() => {
|
||||||
|
|||||||
@ -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",
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user