mirror of
https://github.com/open-webui/open-webui.git
synced 2025-12-11 20:05:19 +00:00
refac
This commit is contained in:
parent
c100442102
commit
a01e5126a3
3 changed files with 2 additions and 2 deletions
|
|
@ -139,7 +139,7 @@ export const Image = Node.create<ImageOptions>({
|
|||
if (file) {
|
||||
img.setAttribute('src', file.url || '');
|
||||
} else {
|
||||
img.setAttribute('src', '/no-image.png');
|
||||
img.setAttribute('src', '/image-placeholder.png');
|
||||
}
|
||||
} else {
|
||||
img.setAttribute('src', node.attrs.src || '');
|
||||
|
|
@ -155,7 +155,7 @@ export const Image = Node.create<ImageOptions>({
|
|||
if (file) {
|
||||
img.setAttribute('src', file.url || '');
|
||||
} else {
|
||||
img.setAttribute('src', '/no-image.png');
|
||||
img.setAttribute('src', '/image-placeholder.png');
|
||||
}
|
||||
}
|
||||
});
|
||||
|
|
|
|||
BIN
static/image-placeholder.png
Normal file
BIN
static/image-placeholder.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 91 KiB |
Binary file not shown.
|
Before Width: | Height: | Size: 170 KiB |
Loading…
Reference in a new issue