mirror of
https://github.com/open-webui/open-webui.git
synced 2026-10-10 03:27:57 +00:00
refac
This commit is contained in:
parent
e250be48ee
commit
78d8c9166f
1 changed files with 0 additions and 2 deletions
|
|
@ -168,7 +168,6 @@
|
|||
const result = await blobForPreview();
|
||||
if (!result) throw new Error(t('Preview failed'));
|
||||
fileDocxData = await result.blob.arrayBuffer();
|
||||
toast.info(t('Preview may differ from download.'));
|
||||
}
|
||||
} else if (ext === 'xlsx' || ext === 'xls') {
|
||||
const result = await blobForPreview();
|
||||
|
|
@ -196,7 +195,6 @@
|
|||
const { pptxToImages } = await import('$lib/utils/pptxToHtml');
|
||||
const resultImages = await pptxToImages(arrayBuffer);
|
||||
fileOfficeSlides = resultImages.images;
|
||||
toast.info(t('Preview may differ from download.'));
|
||||
}
|
||||
}
|
||||
} else if (terminal) {
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue