mirror of
https://github.com/open-webui/open-webui.git
synced 2026-12-01 17:32:52 -05:00
refac
This commit is contained in:
1 parent
ace69bba75
commit
acb2147024
7 files changed
+7
-7
No files matched your search
@@ -332,7 +332,7 @@
|
||||
accessRoles={preset ? ['read', 'write'] : ['read']}
|
||||
share={$user?.permissions?.sharing?.models || $user?.role === 'admin'}
|
||||
sharePublic={$user?.permissions?.sharing?.public_models || $user?.role === 'admin'}
|
||||
shareUsers={$user?.permissions?.access_grants?.allow_users || $user?.role === "admin"}
|
||||
shareUsers={($user?.permissions?.access_grants?.allow_users ?? true) || $user?.role === "admin"}
|
||||
onChange={async () => {
|
||||
if (edit && model?.id) {
|
||||
try {
|
||||
|
||||
Reference in new issue
Block a user