mirror of
https://github.com/open-webui/open-webui.git
synced 2025-12-12 20:35:19 +00:00
Merge pull request #18912 from silentoplayz/fix-functions-page-delete
fix: update Functions page after deleting a function
This commit is contained in:
commit
939521b75d
1 changed files with 1 additions and 0 deletions
|
|
@ -158,6 +158,7 @@
|
|||
|
||||
if (res) {
|
||||
toast.success($i18n.t('Function deleted successfully'));
|
||||
functions = functions.filter((f) => f.id !== func.id);
|
||||
|
||||
_functions.set(await getFunctions(localStorage.token));
|
||||
models.set(
|
||||
|
|
|
|||
Loading…
Reference in a new issue