From 6935900699c2fdef5a25eceb81248359ebfed5ec Mon Sep 17 00:00:00 2001 From: Piyush Bhaskar <102078527+Piyush-r-bhaskar@users.noreply.github.com> Date: Wed, 17 Dec 2025 19:47:40 +0530 Subject: [PATCH] fix(core): add a no-op update function to oss store to initialize `update` (#13732) --- ui/src/composables/useBaseNamespaces.ts | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/ui/src/composables/useBaseNamespaces.ts b/ui/src/composables/useBaseNamespaces.ts index 79a274a0e5..daadcab78a 100644 --- a/ui/src/composables/useBaseNamespaces.ts +++ b/ui/src/composables/useBaseNamespaces.ts @@ -61,6 +61,10 @@ export const useBaseNamespacesStore = () => { return response.data; } + async function update(this: any, _: {route: any, payload: any}) { + // NOOP IN OSS + } + async function loadDependencies(this: any, options: {namespace: string}) { return await axios.get(`${apiUrl()}/namespaces/${options.namespace}/dependencies`); } @@ -283,6 +287,7 @@ export const useBaseNamespacesStore = () => { search, total, load, + update, loadDependencies, existing, namespace,