mirror of
https://github.com/lensapp/lens.git
synced 2025-05-20 05:10:56 +00:00
fix: duplicating/overcaching items with each page visiting (Nnetwork -> Ingress classes)
Signed-off-by: Roman <ixrock@gmail.com>
This commit is contained in:
parent
34e7977259
commit
bd1b559e93
@ -3,7 +3,7 @@
|
|||||||
* Licensed under MIT License. See LICENSE in root directory for more information.
|
* Licensed under MIT License. See LICENSE in root directory for more information.
|
||||||
*/
|
*/
|
||||||
import assert from "assert";
|
import assert from "assert";
|
||||||
import { getInjectable } from "@ogre-tools/injectable";
|
import { getInjectable, lifecycleEnum } from "@ogre-tools/injectable";
|
||||||
import {
|
import {
|
||||||
kubeObjectStoreInjectionToken,
|
kubeObjectStoreInjectionToken,
|
||||||
} from "../../../common/k8s-api/api-manager/manager.injectable";
|
} from "../../../common/k8s-api/api-manager/manager.injectable";
|
||||||
@ -26,7 +26,9 @@ const ingressClassStoreInjectable = getInjectable({
|
|||||||
context: di.inject(clusterFrameContextForNamespacedResourcesInjectable),
|
context: di.inject(clusterFrameContextForNamespacedResourcesInjectable),
|
||||||
}, api);
|
}, api);
|
||||||
},
|
},
|
||||||
|
|
||||||
injectionToken: kubeObjectStoreInjectionToken,
|
injectionToken: kubeObjectStoreInjectionToken,
|
||||||
|
lifecycle: lifecycleEnum.transient,
|
||||||
});
|
});
|
||||||
|
|
||||||
export default ingressClassStoreInjectable;
|
export default ingressClassStoreInjectable;
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user