mirror of
https://github.com/open-webui/open-webui.git
synced 2025-12-16 11:57:51 +01:00
refac/fix: user message toolbar display
This commit is contained in:
@@ -323,7 +323,11 @@
|
||||
{/if}
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
{/if}
|
||||
{/if}
|
||||
|
||||
{#if edit !== true}
|
||||
<div
|
||||
class=" flex {($settings?.chatBubble ?? true)
|
||||
? 'justify-end'
|
||||
@@ -388,9 +392,7 @@
|
||||
messageIndexEdit = true;
|
||||
|
||||
await tick();
|
||||
const input = document.getElementById(
|
||||
`message-index-input-${message.id}`
|
||||
);
|
||||
const input = document.getElementById(`message-index-input-${message.id}`);
|
||||
if (input) {
|
||||
input.focus();
|
||||
input.select();
|
||||
@@ -560,9 +562,7 @@
|
||||
messageIndexEdit = true;
|
||||
|
||||
await tick();
|
||||
const input = document.getElementById(
|
||||
`message-index-input-${message.id}`
|
||||
);
|
||||
const input = document.getElementById(`message-index-input-${message.id}`);
|
||||
if (input) {
|
||||
input.focus();
|
||||
input.select();
|
||||
@@ -598,8 +598,6 @@
|
||||
{/if}
|
||||
{/if}
|
||||
</div>
|
||||
</div>
|
||||
{/if}
|
||||
{/if}
|
||||
</div>
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user