From 2cb56247bed21744ba3b98e6d2f32aba4dee2ddf Mon Sep 17 00:00:00 2001 From: Hornwitser Date: Sat, 31 May 2025 22:05:20 +0200 Subject: [PATCH] Fix interested state for anonymous accounts The EventCard logic assume interestedIds not being present means the account can't set events as interested. Fix this logic by checking if the account is valid instead and always have interestedIds present on the account store. --- components/EventCard.vue | 8 ++++---- stores/account.ts | 4 ++-- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/components/EventCard.vue b/components/EventCard.vue index b2308fa..cbf4c4d 100644 --- a/components/EventCard.vue +++ b/components/EventCard.vue @@ -5,13 +5,13 @@

{{ event.interested }} interested

-

+

@@ -20,7 +20,7 @@
  • {{ formatTime(slot.start) }} - {{ formatTime(slot.end) }}