mirror of
https://github.com/open-webui/open-webui.git
synced 2026-12-01 01:12:43 -05:00
chore: format
This commit is contained in:
1 parent
1f49ebf431
commit
6fce92aa12
139 files changed
+92569
-3249
No files matched your search
@@ -64,10 +64,7 @@
|
||||
: 'hover:bg-gray-100 dark:hover:bg-gray-850'}"
|
||||
draggable="true"
|
||||
on:dragstart={(e) => {
|
||||
e.dataTransfer?.setData(
|
||||
'application/x-kb-dir-move',
|
||||
JSON.stringify({ dirId: directory.id })
|
||||
);
|
||||
e.dataTransfer?.setData('application/x-kb-dir-move', JSON.stringify({ dirId: directory.id }));
|
||||
}}
|
||||
on:dblclick={() => {
|
||||
if (writeAccess) startRename();
|
||||
|
||||
@@ -83,10 +83,7 @@
|
||||
on:dragstart={(e) => {
|
||||
const fileId = file?.id ?? file?.tempId;
|
||||
if (fileId) {
|
||||
e.dataTransfer?.setData(
|
||||
'application/x-kb-file-move',
|
||||
JSON.stringify({ fileId })
|
||||
);
|
||||
e.dataTransfer?.setData('application/x-kb-file-move', JSON.stringify({ fileId }));
|
||||
}
|
||||
}}
|
||||
>
|
||||
|
||||
@@ -61,9 +61,7 @@
|
||||
{breadcrumbs.length === 0
|
||||
? 'text-gray-700 dark:text-gray-300'
|
||||
: 'text-gray-400 dark:text-gray-500 hover:text-gray-600 dark:hover:text-gray-400'}
|
||||
{dragOverCrumb === -1
|
||||
? 'bg-gray-100 dark:bg-gray-800 rounded-lg'
|
||||
: ''}"
|
||||
{dragOverCrumb === -1 ? 'bg-gray-100 dark:bg-gray-800 rounded-lg' : ''}"
|
||||
on:click={() => onNavigate(null)}
|
||||
on:dragover={(e) => handleDragOver(e, -1)}
|
||||
on:dragleave={() => handleDragLeave(-1)}
|
||||
@@ -79,9 +77,7 @@
|
||||
{i === breadcrumbs.length - 1
|
||||
? 'text-gray-700 dark:text-gray-300'
|
||||
: 'text-gray-400 dark:text-gray-500 hover:text-gray-600 dark:hover:text-gray-400'}
|
||||
{dragOverCrumb === i
|
||||
? 'bg-gray-100 dark:bg-gray-800 rounded-lg'
|
||||
: ''}"
|
||||
{dragOverCrumb === i ? 'bg-gray-100 dark:bg-gray-800 rounded-lg' : ''}"
|
||||
on:click={() => onNavigate(crumb.id)}
|
||||
on:dragover={(e) => handleDragOver(e, i)}
|
||||
on:dragleave={() => handleDragLeave(i)}
|
||||
|
||||
Reference in new issue
Block a user