mirror of
https://github.com/kestra-io/kestra.git
synced 2025-12-19 18:05:41 -05:00
fix(core): add a no-op update function to oss store to initialize update (#13732)
This commit is contained in:
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user