From ab6ff1c99475ecd12719098ffb6fdc19fb38d047 Mon Sep 17 00:00:00 2001 From: Neshura Date: Sun, 13 Aug 2023 03:34:46 +0200 Subject: [PATCH] Display Game/Groups in Dropdown Title --- src/routes/graphs/GameGroupSelection.svelte | 5 ++--- src/routes/graphs/GameSelection.svelte | 2 +- 2 files changed, 3 insertions(+), 4 deletions(-) diff --git a/src/routes/graphs/GameGroupSelection.svelte b/src/routes/graphs/GameGroupSelection.svelte index aeb2426..d0806c5 100644 --- a/src/routes/graphs/GameGroupSelection.svelte +++ b/src/routes/graphs/GameGroupSelection.svelte @@ -16,7 +16,6 @@ ethics: [], portraits: [] }; - let store: string | null; // Chellaris Data Code const updateGameGroups = () => { @@ -33,7 +32,7 @@ gameGroups = tmpData.groups; } } - + ChellarisDataStore.subscribe((data) => { chellarisData = data; @@ -79,7 +78,7 @@ const dropdownId = crypto.randomUUID(); - + 1 ? "Groups " : "Group ") + selectedGameGroups.map((selection) => gameGroups.get(selection)?.name).join(", ")}> {#each gameGroups as group} - + {#each gameList as game}