diff --git a/src/components/TimezoneModal.vue b/src/components/TimezoneModal.vue index 2cd0340..29ba232 100644 --- a/src/components/TimezoneModal.vue +++ b/src/components/TimezoneModal.vue @@ -14,9 +14,14 @@ - -
-

{{ $t("No time zone found")}}

+
+ + + {{ "Fetching time zones" }} + +
+
+

{{ "No time zone found" }}

@@ -52,6 +57,7 @@ import { IonRadio, IonList, IonSearchbar, + IonSpinner, IonTitle, IonToolbar, modalController, @@ -68,6 +74,7 @@ let queryString = ref("") let filteredTimeZones = ref([]) let timeZones = ref([]) let timeZoneId = ref("") +let isLoading = ref(true) onBeforeMount(() => { getAvailableTimeZones(); @@ -99,6 +106,7 @@ function getAvailableTimeZones() { }); findTimeZone(); } + isLoading.value = false; }) }