From f6c273f6f312ca0dd2df79709681643a20551d2f Mon Sep 17 00:00:00 2001 From: Massedil Date: Thu, 21 Nov 2024 20:23:40 +0100 Subject: [PATCH] islongEvents -> isLongEvents --- src/components/Home/SearchFields.vue | 4 ++-- src/components/NavBar.vue | 35 ++++++++++++++++++++++++++++ src/composition/apollo/config.ts | 4 ++-- src/views/SearchView.vue | 31 ++++++++++++++++++++++++ 4 files changed, 70 insertions(+), 4 deletions(-) diff --git a/src/components/Home/SearchFields.vue b/src/components/Home/SearchFields.vue index b6c87e62a..7a04715fc 100644 --- a/src/components/Home/SearchFields.vue +++ b/src/components/Home/SearchFields.vue @@ -58,7 +58,7 @@ class="search-Activity min-w-40 mr-1 mb-1" native-type="submit" icon-left="calendar-star" - v-if="islongEvents" + v-if="search == null && isLongEvents" > {{ t("Activities") }} @@ -100,7 +100,7 @@ const props = defineProps<{ const router = useRouter(); const route = useRoute(); -const { islongEvents } = useIsLongEvents(); +const { isLongEvents } = useIsLongEvents(); const emit = defineEmits<{ (event: "update:address", address: IAddress | null): void; diff --git a/src/components/NavBar.vue b/src/components/NavBar.vue index 40dbc0417..af5192e63 100644 --- a/src/components/NavBar.vue +++ b/src/components/NavBar.vue @@ -179,6 +179,39 @@