mirror of
https://github.com/open-webui/open-webui.git
synced 2026-09-06 08:18:53 +00:00
refac
This commit is contained in:
parent
38bf0b6eec
commit
85e92fe3b0
1 changed files with 6 additions and 0 deletions
|
|
@ -62,6 +62,12 @@
|
|||
return null;
|
||||
});
|
||||
|
||||
if (tool && !tool.write_access) {
|
||||
toast.error($i18n.t('You do not have permission to edit this tool'));
|
||||
goto('/workspace/tools');
|
||||
return;
|
||||
}
|
||||
|
||||
console.log(tool);
|
||||
}
|
||||
});
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue