Skip to content

Commit

Permalink
Merge pull request #184 from Ritika-Patel08/fixed-TimezoneModal
Browse files Browse the repository at this point in the history
Implemented: Spinner in timezone modal so users can see that data is being fetched
  • Loading branch information
ravilodhi authored Mar 15, 2024
2 parents c0e58f8 + ddf1754 commit 8ff237c
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
6 changes: 4 additions & 2 deletions src/components/TimezoneModal.vue
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,10 @@
<ion-content class="ion-padding">
<form @keyup.enter="setUserTimeZone">
<div class="empty-state" v-if="isLoading">
<ion-spinner name="crescent" />
<p>{{ translate("Fetching TimeZones")}}</p>
<ion-item lines="none">
<ion-spinner color="secondary" name="crescent" slot="start" />
{{ translate("Fetching time zones") }}
</ion-item>
</div>

<!-- Empty state -->
Expand Down
2 changes: 1 addition & 1 deletion src/locales/en.json
Original file line number Diff line number Diff line change
Expand Up @@ -165,7 +165,7 @@
"Failed to update some product stores": "Failed to update some product stores",
"Failed to update some role(s).": "Failed to update some role(s).",
"Failed to send password reset email.": "Failed to send password reset email.",
"Fetching TimeZones": "Fetching TimeZones",
"Fetching time zones": "Fetching time zones",
"Find Facilities": "Find Facilities",
"Friday": "Friday",
"Fulfillment Capacity": "Fulfillment Capacity",
Expand Down

0 comments on commit 8ff237c

Please sign in to comment.