mirror of
https://github.com/open-webui/open-webui
synced 2024-11-25 05:18:15 +00:00
fix: functions redirect
This commit is contained in:
parent
37f19f68eb
commit
9779bbfd8e
@ -49,7 +49,7 @@
|
|||||||
functions.set(await getFunctions(localStorage.token));
|
functions.set(await getFunctions(localStorage.token));
|
||||||
models.set(await getModels(localStorage.token));
|
models.set(await getModels(localStorage.token));
|
||||||
|
|
||||||
await goto('/workspace/functions');
|
await goto('/admin/functions');
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
||||||
|
@ -59,7 +59,7 @@
|
|||||||
if (id) {
|
if (id) {
|
||||||
func = await getFunctionById(localStorage.token, id).catch((error) => {
|
func = await getFunctionById(localStorage.token, id).catch((error) => {
|
||||||
toast.error(error);
|
toast.error(error);
|
||||||
goto('/workspace/functions');
|
goto('/admin/functions');
|
||||||
return null;
|
return null;
|
||||||
});
|
});
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user