add spinner to shop address fetch
This commit is contained in:
parent
f5671cd53c
commit
73e1ba0475
1 changed files with 5 additions and 0 deletions
|
|
@ -105,6 +105,7 @@ import googleMap from '@/iss-components/google-map/google-map.vue';
|
|||
|
||||
// Supporting files
|
||||
import baseMixin from '@/mixins/base-mixin.js';
|
||||
import showIssLoadingModal from '@/helpers/loading-modal-helper.js';
|
||||
import { toTitleCase } from '@/helpers/text-helper.js';
|
||||
import { markRaw } from 'vue';
|
||||
import { getAvailabilityRating } from '@/helpers/service-location-helper';
|
||||
|
|
@ -243,7 +244,9 @@ export default {
|
|||
if (this.openingModal) {
|
||||
return;
|
||||
}
|
||||
showIssLoadingModal(true);
|
||||
const shopsUpdated = await this.updateShops();
|
||||
showIssLoadingModal(false);
|
||||
if (shopsUpdated) {
|
||||
await this.$nextTick();
|
||||
this.$refs[SERVICE_ZIP_QUESTION_REF_NAME].internalZipcode = '';
|
||||
|
|
@ -253,7 +256,9 @@ export default {
|
|||
if (this.openingModal) {
|
||||
return;
|
||||
}
|
||||
showIssLoadingModal(true);
|
||||
await this.updateShops();
|
||||
showIssLoadingModal(false);
|
||||
}
|
||||
},
|
||||
methods: {
|
||||
|
|
|
|||
Loading…
Reference in a new issue