Tweaks
This commit is contained in:
parent
037fedaadc
commit
6ffe811336
3 changed files with 1 additions and 15 deletions
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -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 = [
|
||||
|
|
|
|||
|
|
@ -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(
|
||||
|
|
|
|||
Loading…
Reference in a new issue