diff --git a/src/components/Local/CloseGroups.vue b/src/components/Local/CloseGroups.vue
deleted file mode 100644
index 0f238baef..000000000
--- a/src/components/Local/CloseGroups.vue
+++ /dev/null
@@ -1,116 +0,0 @@
-
-
-
-
- {{
- t("Popular groups nearby {position}", {
- position: userLocationName,
- })
- }}
-
-
- {{ t("Popular groups close to you") }}
-
-
-
-
-
-
-
- {{
- t("View more groups around {position}", {
- position: userLocationName,
- })
- }}
-
-
-
-
-
-
diff --git a/src/components/Local/LastEvents.vue b/src/components/Local/LastEvents.vue
deleted file mode 100644
index 959cec8a0..000000000
--- a/src/components/Local/LastEvents.vue
+++ /dev/null
@@ -1,68 +0,0 @@
-
-
-
- {{ t("Agenda") }}
-
-
-
-
-
- {{ t("View more events") }}
-
-
-
-
-
-
diff --git a/src/components/Local/OnlineEvents.vue b/src/components/Local/OnlineEvents.vue
deleted file mode 100644
index bf4036764..000000000
--- a/src/components/Local/OnlineEvents.vue
+++ /dev/null
@@ -1,75 +0,0 @@
-
-
-
- {{ $t("Online upcoming events") }}
-
-
-
-
-
- {{ $t("View more online events") }}
-
-
-
-
-
-
diff --git a/src/components/NavBar.vue b/src/components/NavBar.vue
index 31c1e966e..fdcf298ad 100644
--- a/src/components/NavBar.vue
+++ b/src/components/NavBar.vue
@@ -179,13 +179,6 @@
diff --git a/src/views/SearchView.vue b/src/views/SearchView.vue
index 5907ba402..5ffdd8c62 100644
--- a/src/views/SearchView.vue
+++ b/src/views/SearchView.vue
@@ -943,7 +943,11 @@ const geoHashLocation = computed(() =>
const radius = computed({
get(): number | null {
- return Number.parseInt(distance.value.slice(0, -3));
+ if (addressName.value) {
+ return Number.parseInt(distance.value.slice(0, -3));
+ } else {
+ return null;
+ }
},
set(newRadius: number) {
distance.value = newRadius.toString() + "_km";