mirror of
https://github.com/open-webui/open-webui.git
synced 2025-12-13 04:45:19 +00:00
fix: duplicate prompt suggestions freezes webpage
This commit is contained in:
parent
f18f1db704
commit
da282ce5c7
1 changed files with 1 additions and 1 deletions
|
|
@ -84,7 +84,7 @@
|
|||
<div class="h-40 w-full">
|
||||
{#if filteredPrompts.length > 0}
|
||||
<div role="list" class="max-h-40 overflow-auto scrollbar-none items-start {className}">
|
||||
{#each filteredPrompts as prompt, idx (prompt.id || prompt.content)}
|
||||
{#each filteredPrompts as prompt, idx (prompt.id || `${prompt.content}-${idx}`)}
|
||||
<!-- svelte-ignore a11y-no-interactive-element-to-noninteractive-role -->
|
||||
<button
|
||||
role="listitem"
|
||||
|
|
|
|||
Loading…
Reference in a new issue