Browse Source

feat: doge i18n placeholder

Timothy J. Baek 1 year ago
parent
commit
bfd33ec0df
2 changed files with 2 additions and 2 deletions
  1. 2 2
      src/lib/components/chat/Messages/Placeholder.svelte
  2. BIN
      static/doge.png

+ 2 - 2
src/lib/components/chat/Messages/Placeholder.svelte

@@ -38,8 +38,8 @@
 							/>
 							/>
 						{:else}
 						{:else}
 							<img
 							<img
-								src={models.length === 1
-									? `${WEBUI_BASE_URL}/static/favicon.png`
+								src={$i18n.language === 'dg-DG'
+									? `/doge.png`
 									: `${WEBUI_BASE_URL}/static/favicon.png`}
 									: `${WEBUI_BASE_URL}/static/favicon.png`}
 								class=" size-12 rounded-full border-[1px] border-gray-200 dark:border-none"
 								class=" size-12 rounded-full border-[1px] border-gray-200 dark:border-none"
 								alt="logo"
 								alt="logo"

BIN
static/doge.png