need loading modal to appear on return page

This commit is contained in:
Michaela Brydon 2024-11-18 14:15:26 -05:00
parent 6933e7fc92
commit 04af205b1c

View file

@ -16,6 +16,7 @@ import { paymentMethods } from '@/constants/payment-method-constants.js';
import { getCartTotal } from '@/helpers/cart-helper';
import { submitWorkOrder } from '@/helpers/order-helper.js';
import submitType from '@/constants/submit-type';
import showIssLoadingModal from '@/helpers/loading-modal-helper';
export default {
name: 'payment-return',
@ -43,6 +44,7 @@ export default {
}
},
async mounted() {
showIssLoadingModal(true);
const payInAdvanceError = getQueryStringParameter(queryStrings.ERROR);
const { paymentMethod } = useMainStore().order.payment;