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 @@