This commit is contained in:
Michaela Brydon 2024-08-08 10:19:44 -04:00
parent 037fedaadc
commit 6ffe811336
3 changed files with 1 additions and 15 deletions

View file

@ -140,7 +140,6 @@ function processPageData(baseResponse, clientResponse) {
widgets.forEach((widget) => {
// Global state value replacement.
console.log(widget);
const widgetWithReplacements = findAndReplaceGlobalStateValues(widget.Model, widget.Name);
// If we already have this widget, push it on the collection

View file

@ -120,7 +120,7 @@ export default {
mixins: [BaseFormMixin],
async beforeRouteEnter(to, from, next) {
// Call APIs
const cmsContent = fetchCmsContentForPage(to.query.issPage);
const cmsContentPromise = fetchCmsContentForPage(to.query.issPage);
// Settle promises and get results
const promiseResultMap = [

View file

@ -306,19 +306,6 @@ export default {
this.navigationScenarios.CLICKED_FORWARD,
this.$route
);
// await submitWorkOrder({ submitType: submitType.SAFELITE }).then(() => {
// this.$router.navigate(
// this.navigationScenarios.CLICKED_FORWARD,
// this.$route
// );
// }).catch((submitError) => {
// useMainStore().setBailout(bailoutMessage.saveSessionError(submitError.data));
// this.$router.navigate(
// this.navigationScenarios.SAVE_SESSION_FAILED,
// this.$route,
// { query: { issPage: issPageValues.PAYMENT_METHOD } }
// );
// });
} catch (error) {
useMainStore().setBailout(bailoutMessage.saveSessionError(submitError.data));
this.$router.navigate(