Merge pull request #1053 from Safelite/feature/richardson/INSR-8114.5

add spinner to shop address fetch
This commit is contained in:
brich1212safe 2026-02-06 13:49:55 -05:00 committed by GitHub
commit 5667bbc90f
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -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: {