mirror of
https://github.com/lensapp/lens.git
synced 2025-05-20 05:10:56 +00:00
clean-up: namespace-store, updating comments
Signed-off-by: Roman <ixrock@gmail.com>
This commit is contained in:
parent
55fa8bd743
commit
779a8600b0
@ -11,9 +11,7 @@ export const namespaceUrlParam = createPageParam<string[]>({
|
||||
name: "namespaces",
|
||||
isSystem: true,
|
||||
multiValues: true,
|
||||
get defaultValue() {
|
||||
return selectedNamespaces.get() ?? []; // initial namespaces coming from URL or local-storage (default)
|
||||
}
|
||||
defaultValue: [],
|
||||
});
|
||||
|
||||
export function getDummyNamespace(name: string) {
|
||||
|
||||
@ -3,7 +3,7 @@ import { autobind, createStorage, StorageHelper } from "../../utils";
|
||||
import { dockStore, TabId } from "./dock.store";
|
||||
|
||||
interface Options<T = any> {
|
||||
storageName?: string; // persistent key
|
||||
storageName?: string; // persistence key
|
||||
storageSerializer?: (data: T) => Partial<T>; // allow to customize data before saving
|
||||
}
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user