mirror of
https://github.com/open-webui/open-webui.git
synced 2026-10-18 04:43:55 +00:00
fix: Continue Response continues the reply it was clicked under (#32456)
This commit is contained in:
parent
9245e31ccb
commit
3c82fda4e8
2 changed files with 4 additions and 4 deletions
|
|
@ -4469,12 +4469,12 @@
|
|||
}
|
||||
};
|
||||
|
||||
const continueResponse = async () => {
|
||||
const continueResponse = async (message) => {
|
||||
console.log('continueResponse');
|
||||
const _chatId = JSON.parse(JSON.stringify($chatId));
|
||||
|
||||
if (history.currentId && history.messages[history.currentId].done == true) {
|
||||
const responseMessage = history.messages[history.currentId];
|
||||
if (history.messages[message.id].done == true) {
|
||||
const responseMessage = history.messages[message.id];
|
||||
responseMessage.done = false;
|
||||
await tick();
|
||||
|
||||
|
|
|
|||
|
|
@ -1383,7 +1383,7 @@
|
|||
? 'visible'
|
||||
: 'hover-reveal'} p-1.5 hover:bg-black/5 dark:hover:bg-white/5 rounded-lg dark:hover:text-white hover:text-black transition"
|
||||
on:click={() => {
|
||||
continueResponse();
|
||||
continueResponse(message);
|
||||
}}
|
||||
>
|
||||
<svg
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue