From e0a2290f0760e794dc874292f6280aeaf0ba3bf7 Mon Sep 17 00:00:00 2001 From: Juliana Silva Barbosa Date: Sun, 17 Dec 2023 21:07:03 -0500 Subject: [PATCH] syncro label all --- client/src/App.svelte | 4 +- client/src/lib/Api.ts | 14 ++- client/src/lib/ImageCard.svelte | 74 +++-------- client/src/lib/LabelAll.svelte | 213 +++++++++++++++----------------- client/src/lib/Random.svelte | 10 +- client/src/lib/stores.ts | 15 ++- 6 files changed, 148 insertions(+), 182 deletions(-) diff --git a/client/src/App.svelte b/client/src/App.svelte index da71fc8..859e2c5 100644 --- a/client/src/App.svelte +++ b/client/src/App.svelte @@ -1,7 +1,7 @@ @@ -213,7 +202,7 @@ + {#if labels && Object.keys(labels).length > 0} +
+ {#each Object.entries(labels) as [label, value], idx} + + + {label} + removeLabels(label)} + class="position-absolute top-0 start-100 translate-middle" + > +