mirror of
https://github.com/open-webui/open-webui.git
synced 2025-12-12 12:25:20 +00:00
refac
This commit is contained in:
parent
e8696c63fe
commit
4c9ab7bd50
1 changed files with 1 additions and 2 deletions
|
|
@ -95,8 +95,6 @@
|
||||||
const inputFilesHandler = async (inputFiles) => {
|
const inputFilesHandler = async (inputFiles) => {
|
||||||
console.log('Input files handler called with:', inputFiles);
|
console.log('Input files handler called with:', inputFiles);
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
inputFiles.forEach(async (file) => {
|
inputFiles.forEach(async (file) => {
|
||||||
console.log('Processing file:', {
|
console.log('Processing file:', {
|
||||||
name: file.name,
|
name: file.name,
|
||||||
|
|
@ -180,6 +178,7 @@
|
||||||
name={file.name}
|
name={file.name}
|
||||||
modal={true}
|
modal={true}
|
||||||
edit={true}
|
edit={true}
|
||||||
|
loading={file.status === 'uploading'}
|
||||||
type={file?.legacy
|
type={file?.legacy
|
||||||
? `Legacy${file.type ? ` ${file.type}` : ''}`
|
? `Legacy${file.type ? ` ${file.type}` : ''}`
|
||||||
: (file?.type ?? 'Collection')}
|
: (file?.type ?? 'Collection')}
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue