mirror of
https://github.com/open-webui/open-webui.git
synced 2025-12-17 14:55:23 +00:00
refac
This commit is contained in:
parent
3cc3671e74
commit
5e8a74ef74
1 changed files with 3 additions and 1 deletions
|
|
@ -1037,7 +1037,9 @@
|
||||||
{#if action.icon_url}
|
{#if action.icon_url}
|
||||||
<img
|
<img
|
||||||
src={action.icon_url}
|
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;"
|
style="fill: currentColor;"
|
||||||
alt={action.name}
|
alt={action.name}
|
||||||
/>
|
/>
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue