mirror of
https://github.com/open-webui/open-webui.git
synced 2026-12-04 10:37:56 -05:00
chore: format
This commit is contained in:
1 parent
424dba443c
commit
9044abf3bb
105 files changed
+3884
-661
No files matched your search
@@ -57,8 +57,7 @@
|
||||
($user?.role === 'admin' || $user?.permissions?.chat?.file_upload);
|
||||
|
||||
let webUploadEnabled = true;
|
||||
$: webUploadEnabled =
|
||||
$user?.role === 'admin' || ($user?.permissions?.chat?.web_upload ?? true);
|
||||
$: webUploadEnabled = $user?.role === 'admin' || ($user?.permissions?.chat?.web_upload ?? true);
|
||||
|
||||
$: if (!fileUploadEnabled && files.length > 0) {
|
||||
files = [];
|
||||
|
||||
Reference in new issue
Block a user