This commit is contained in:
Timothy Jaeryang Baek 2025-09-14 10:41:52 +02:00
parent b775826a27
commit 025eef754f

View file

@ -43,7 +43,9 @@
items = [
...items,
...res.map((item) => {
...res
.filter((item) => item?.id !== $chatId)
.map((item) => {
return {
...item,
type: 'chat',
@ -71,7 +73,6 @@
{:else}
<div class="flex flex-col gap-0.5">
{#each items as item, idx}
{#if item?.id !== $chatId}
<button
class=" px-2.5 py-1 rounded-xl w-full text-left flex justify-between items-center text-sm {idx ===
selectedIdx
@ -99,7 +100,6 @@
</Tooltip>
</div>
</button>
{/if}
{/each}
{#if !allItemsLoaded}