diff --git a/src/components/Home/SearchFields.vue b/src/components/Home/SearchFields.vue
index 7a04715fc..6d4f331c2 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="search == null && isLongEvents"
+ v-if="isLongEvents"
>
{{ t("Activities") }}
diff --git a/src/components/NavBar.vue b/src/components/NavBar.vue
index af5192e63..40dbc0417 100644
--- a/src/components/NavBar.vue
+++ b/src/components/NavBar.vue
@@ -179,39 +179,6 @@
- -
- {{ t("Events") }}
-
- -
- {{ t("Activities") }}
-
- -
- {{ t("Groups") }}
-
-
{
if (!eventCategories.value) return [];
@@ -829,36 +828,6 @@ const searchIsUrl = computed((): boolean => {
return url.protocol === "http:" || url.protocol === "https:";
});
-const contentTypeMapping = computed(() => {
- if (isLongEvents.value) {
- return [
- {
- contentType: ContentType.EVENTS,
- label: t("Events"),
- },
- {
- contentType: ContentType.LONGEVENTS,
- label: t("Activities"),
- },
- {
- contentType: ContentType.GROUPS,
- label: t("Groups"),
- },
- ];
- } else {
- return [
- {
- contentType: ContentType.EVENTS,
- label: t("Events"),
- },
- {
- contentType: ContentType.GROUPS,
- label: t("Groups"),
- },
- ];
- }
-});
-
const eventStatuses = computed(() => {
return [
{