fix(core): add a no-op update function to oss store to initialize update (#13732)

This commit is contained in:
Piyush Bhaskar
2025-12-17 19:47:40 +05:30
committed by GitHub
parent 0bc8e8d74a
commit 6935900699

View File

@@ -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,