mirror of
https://github.com/open-webui/open-webui
synced 2025-06-25 09:47:41 +00:00
fix: add unique key to model list to avoid state confusion when filtering
This commit is contained in:
parent
4959e91fa7
commit
6b6ce36c96
@ -243,7 +243,7 @@
|
||||
</div>
|
||||
|
||||
<div class=" my-2 mb-5 gap-2 grid lg:grid-cols-2 xl:grid-cols-3" id="model-list">
|
||||
{#each filteredModels as model}
|
||||
{#each filteredModels as model (model.id)}
|
||||
<div
|
||||
class=" flex flex-col cursor-pointer w-full px-3 py-2 dark:hover:bg-white/5 hover:bg-black/5 rounded-xl transition"
|
||||
id="model-item-{model.id}"
|
||||
|
Loading…
Reference in New Issue
Block a user