fix: stabilize list loading and show correct list count

This commit is contained in:
Bhavishy
2026-04-14 19:26:43 +05:30
parent 2cea6c4ef4
commit 0db751bd45
13 changed files with 792 additions and 491 deletions
@@ -0,0 +1,23 @@
<script lang="ts">
import type {TrustedEvent} from "@welshman/util"
import Button from "@lib/components/Button.svelte"
import Icon from "@lib/components/Icon.svelte"
import Bookmark from "@assets/icons/bookmark.svg?dataurl"
import BookmarkListPicker from "@app/components/BookmarkListPicker.svelte"
import {pushModal} from "@app/util/modal"
type Props = {
event: TrustedEvent
}
const {event}: Props = $props()
const bookmark = () => pushModal(BookmarkListPicker, {event})
</script>
<li>
<Button onclick={bookmark}>
<Icon size={4} icon={Bookmark} />
Bookmark
</Button>
</li>