mirror of
https://github.com/open-webui/open-webui.git
synced 2025-12-16 11:57:51 +01:00
Update ImagePreview.svelte
This commit is contained in:
@@ -103,7 +103,7 @@
|
|||||||
const mimeType = blob.type || 'image/png';
|
const mimeType = blob.type || 'image/png';
|
||||||
// create file name based on the MIME type, alt should be a valid file name with extension
|
// create file name based on the MIME type, alt should be a valid file name with extension
|
||||||
const fileName = `${$i18n
|
const fileName = `${$i18n
|
||||||
.t('AI Generated Image')
|
.t('Generated Image')
|
||||||
.toLowerCase()
|
.toLowerCase()
|
||||||
.replace(/ /g, '_')}.${mimeType.split('/')[1]}`;
|
.replace(/ /g, '_')}.${mimeType.split('/')[1]}`;
|
||||||
|
|
||||||
@@ -123,7 +123,7 @@
|
|||||||
|
|
||||||
// create file name based on the MIME type, alt should be a valid file name with extension
|
// create file name based on the MIME type, alt should be a valid file name with extension
|
||||||
const fileName = `${$i18n
|
const fileName = `${$i18n
|
||||||
.t('AI Generated Image')
|
.t('Generated Image')
|
||||||
.toLowerCase()
|
.toLowerCase()
|
||||||
.replace(/ /g, '_')}.${mimeType.split('/')[1]}`;
|
.replace(/ /g, '_')}.${mimeType.split('/')[1]}`;
|
||||||
|
|
||||||
@@ -151,7 +151,7 @@
|
|||||||
|
|
||||||
// create file name based on the MIME type, alt should be a valid file name with extension
|
// create file name based on the MIME type, alt should be a valid file name with extension
|
||||||
const fileName = `${$i18n
|
const fileName = `${$i18n
|
||||||
.t('AI Generated Image')
|
.t('Generated Image')
|
||||||
.toLowerCase()
|
.toLowerCase()
|
||||||
.replace(/ /g, '_')}.${mimeType.split('/')[1]}`;
|
.replace(/ /g, '_')}.${mimeType.split('/')[1]}`;
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user