This commit is contained in:
Timothy Jaeryang Baek committed 2026-07-17 06:28:07 -04:00
1 parent ff49217206
commit 890bfd0d97
3 files changed
+9 -6

No files matched your search

+2 -1
View File
@@ -9,6 +9,7 @@
export let src = '';
export let alt = '';
export let allowExternal = false;
export let className = ` w-full ${($settings?.highContrastMode ?? false) ? '' : 'outline-hidden focus:outline-hidden'}`;
@@ -20,7 +21,7 @@
const i18n = getContext('i18n');
let _src = '';
$: _src = safeImageUrl(src.startsWith('/') ? `${WEBUI_BASE_URL}${src}` : src);
$: _src = safeImageUrl(src.startsWith('/') ? `${WEBUI_BASE_URL}${src}` : src, allowExternal);
let showImagePreview = false;
</script>