Timothy J. Baek hace 10 meses
padre
commit
5e8a74ef74
Se han modificado 1 ficheros con 3 adiciones y 1 borrados
  1. 3 1
      src/lib/components/chat/Messages/ResponseMessage.svelte

+ 3 - 1
src/lib/components/chat/Messages/ResponseMessage.svelte

@@ -1037,7 +1037,9 @@
 															{#if action.icon_url}
 																<img
 																	src={action.icon_url}
-																	class="w-4 h-4 dark:invert-[80%]"
+																	class="w-4 h-4 {action.icon_url.includes('svg')
+																		? 'dark:invert-[80%]'
+																		: ''}"
 																	style="fill: currentColor;"
 																	alt={action.name}
 																/>