- {{ t("Type") }}
-
-
{
if (!eventCategories.value) return [];
@@ -873,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 [
{