mirror of
https://github.com/open-webui/open-webui
synced 2025-04-07 14:14:50 +00:00
Merge pull request #6989 from Peter-De-Ath/fix-action-button
fix action buttons
This commit is contained in:
commit
c24bc60d35
@ -273,7 +273,7 @@
|
|||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
||||||
const actionMessage = async (actionId, event = null) => {
|
const actionMessage = async (actionId, message, event = null) => {
|
||||||
await chatActionHandler(chatId, actionId, message.model, message.id, event);
|
await chatActionHandler(chatId, actionId, message.model, message.id, event);
|
||||||
};
|
};
|
||||||
|
|
||||||
|
@ -1164,7 +1164,7 @@
|
|||||||
? 'visible'
|
? 'visible'
|
||||||
: 'invisible group-hover:visible'} p-1.5 hover:bg-black/5 dark:hover:bg-white/5 rounded-lg dark:hover:text-white hover:text-black transition regenerate-response-button"
|
: 'invisible group-hover:visible'} p-1.5 hover:bg-black/5 dark:hover:bg-white/5 rounded-lg dark:hover:text-white hover:text-black transition regenerate-response-button"
|
||||||
on:click={() => {
|
on:click={() => {
|
||||||
actionMessage(action.id);
|
actionMessage(action.id, message);
|
||||||
}}
|
}}
|
||||||
>
|
>
|
||||||
{#if action.icon_url}
|
{#if action.icon_url}
|
||||||
|
Loading…
Reference in New Issue
Block a user