From 92d334fe9f52d61b8ddcd67f663f5ee481e4a4f4 Mon Sep 17 00:00:00 2001 From: Alex Perathoner Date: Wed, 23 Oct 2024 03:58:17 +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 | 116 +++++++++++++++++----- 3 files changed, 96 insertions(+), 33 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 @@