From 3e6f5695a4aab3f222209c8c1d7cc6fc1d5ea55f Mon Sep 17 00:00:00 2001 From: Ritika-Patel08 Date: Fri, 5 Jan 2024 19:20:19 +0530 Subject: [PATCH] Implemented :Spinner in Timezone Model for Timezone Configuration (#210) --- src/locales/en.json | 1 + src/views/TimezoneModal.vue | 83 +++++++++++++++++++++++-------------- 2 files changed, 54 insertions(+), 30 deletions(-) diff --git a/src/locales/en.json b/src/locales/en.json index 07b5d7d1..39392806 100644 --- a/src/locales/en.json +++ b/src/locales/en.json @@ -37,6 +37,7 @@ "Make sure you've reviewed the products and their counts before uploading them for review": "Make sure you've reviewed the products and their counts before uploading them for review", "No results found": "No results found", "No time zone found": "No time zone found", + "Fetching time zones":"Fetching time zones", "Ok": "Ok", "OMS": "OMS", "OMS instance": "OMS instance", diff --git a/src/views/TimezoneModal.vue b/src/views/TimezoneModal.vue index 4db695e8..6f21c36c 100644 --- a/src/views/TimezoneModal.vue +++ b/src/views/TimezoneModal.vue @@ -2,44 +2,60 @@ - + {{ $t("Select time zone") }} - + - + + -
-

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

+
+
+ + + + {{ $t("Fetching time zones") }} + +
- +
+
+

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

+
+
+
- {{ timeZone.label }} ({{ timeZone.id }}) + {{ timeZone.label }} ({{ timeZone.id + }})
- + + - - - \ No newline at end of file + }); + + \ No newline at end of file