From 6e4e41ab88cb58107a364f39883120065c04dbbd Mon Sep 17 00:00:00 2001 From: Lightling Date: Thu, 17 Oct 2024 18:09:09 -0400 Subject: [PATCH] fix entries not toggling hidden class does not play well with promises it seems --- .../src/components/shared/filter-panel.vue | 1 - .../src/views/gallery/gallery-tile.vue | 4 ++- .../frontend/src/views/shared/media-list.vue | 27 ++++++++++++------- 3 files changed, 20 insertions(+), 12 deletions(-) diff --git a/projects/frontend/src/components/shared/filter-panel.vue b/projects/frontend/src/components/shared/filter-panel.vue index 4291c1e..9a498ea 100644 --- a/projects/frontend/src/components/shared/filter-panel.vue +++ b/projects/frontend/src/components/shared/filter-panel.vue @@ -45,7 +45,6 @@ const onToggleTag = (event: Event, tagId: string) => { tagsToggled.splice(index, 1) } } - console.log(tagsToggled) emits('toggledTagsChanged', tagsToggled) } diff --git a/projects/frontend/src/views/gallery/gallery-tile.vue b/projects/frontend/src/views/gallery/gallery-tile.vue index 63a096e..19721f2 100644 --- a/projects/frontend/src/views/gallery/gallery-tile.vue +++ b/projects/frontend/src/views/gallery/gallery-tile.vue @@ -38,7 +38,9 @@ onMounted(async () => {