mirror of
https://github.com/open-webui/open-webui.git
synced 2026-09-07 08:27:05 +00:00
refac
This commit is contained in:
parent
713a65ee31
commit
de9cff6b4e
1 changed files with 5 additions and 0 deletions
|
|
@ -25,6 +25,11 @@
|
|||
if (!model) {
|
||||
goto('/workspace/models');
|
||||
}
|
||||
|
||||
if (!model?.write_access) {
|
||||
toast.error($i18n.t('You do not have permission to edit this model'));
|
||||
goto('/workspace/models');
|
||||
}
|
||||
} else {
|
||||
goto('/workspace/models');
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue