Merge pull request #13883 from alpha-pet/fix-workspace-model-unintended-toggle

Fix: Unintentional toggling of model status on the workspace page.
This commit is contained in:
Tim Jaeryang Baek 2025-05-14 18:09:16 +04:00 committed by GitHub
commit 2217fc4fd9
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -243,7 +243,7 @@
</div> </div>
<div class=" my-2 mb-5 gap-2 grid lg:grid-cols-2 xl:grid-cols-3" id="model-list"> <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 <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" 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}" id="model-item-{model.id}"