From ef683c960eb0ea8c553f1182a162e3a9ff54881f Mon Sep 17 00:00:00 2001 From: Alex Perathoner Date: Wed, 23 Oct 2024 03:55:12 +0200 Subject: [PATCH] Sort items in people view --- src/lib/DropDown.svelte | 3 +- src/lib/poster/Poster.svelte | 10 +- src/routes/(app)/person/[id]/+page.svelte | 112 +++++++++++++++++----- 3 files changed, 94 insertions(+), 31 deletions(-) diff --git a/src/lib/DropDown.svelte b/src/lib/DropDown.svelte index 9987dd8e..5d5e61b3 100644 --- a/src/lib/DropDown.svelte +++ b/src/lib/DropDown.svelte @@ -11,6 +11,7 @@ export let blendIn: boolean = false; export let disabled = false; export let onChange: () => void = () => {}; + export let showActiveElementsInOptions: boolean = false; let activeValue: string; let open = false; @@ -77,7 +78,7 @@