From d06010a9829179635b52a23c4d32af6030c5d7c3 Mon Sep 17 00:00:00 2001 From: Bryan Mauger Date: Wed, 21 Jun 2023 10:18:00 -0400 Subject: [PATCH] Push comment changes. --- src/layouts/customer-details/customer-details.vue | 6 ------ src/layouts/schedule/schedule.vue | 1 + src/router/index.js | 6 ------ src/router/router-constants/routing-table.js | 2 +- 4 files changed, 2 insertions(+), 13 deletions(-) diff --git a/src/layouts/customer-details/customer-details.vue b/src/layouts/customer-details/customer-details.vue index b84c40fe8..4377050e2 100644 --- a/src/layouts/customer-details/customer-details.vue +++ b/src/layouts/customer-details/customer-details.vue @@ -126,12 +126,6 @@ export default { this.$router.navigateWithoutSaving(this.navigationScenarios.CLICKED_BACK, this.$route); }, forwardButtonAction() { - this.updateSupportingItems(); - this.dispatchStoreAction( - this.storeActions.SAVE_CUSTOMER_DETAILS, - //this.appointmentDateAndTime, - false - ); navigateToHeritageFunnel({ loadingModal: this.$refs.loadingModal }); }, }, diff --git a/src/layouts/schedule/schedule.vue b/src/layouts/schedule/schedule.vue index 0688f663a..9a1af248a 100644 --- a/src/layouts/schedule/schedule.vue +++ b/src/layouts/schedule/schedule.vue @@ -335,6 +335,7 @@ export default { this.appointmentDateAndTime, false ); + //Temporary, still need to determine what needs to be saved before continuing. this.$router.navigateWithoutSaving( this.navigationScenarios.CLICKED_FORWARD_WITH_CUSTOMER_DETAILS, this.$route diff --git a/src/router/index.js b/src/router/index.js index d5a31e8ae..27222ab08 100644 --- a/src/router/index.js +++ b/src/router/index.js @@ -27,7 +27,6 @@ import store from "@/store"; import analyticsMixin from "@/mixins/analytics-mixin"; import { experimentTriggers } from "../constants/experiments"; import { applicationConfig } from "../constants/application-config"; -//import customerDetails from "@/layouts/customer-details/customer-details"; import review from "@/layouts/review/review"; const routes = [ @@ -36,11 +35,6 @@ const routes = [ name: "review", component: review, }, - // { - // path: "/customer-details", // This is a temporary route for testing. - // name: "customer-details", - // component: customerDetails, - // }, { path: "/", name: "root", diff --git a/src/router/router-constants/routing-table.js b/src/router/router-constants/routing-table.js index ca5088361..5ece61cfb 100644 --- a/src/router/router-constants/routing-table.js +++ b/src/router/router-constants/routing-table.js @@ -448,7 +448,7 @@ const routingTable = function (store) { }, { scenario: navigationScenarios.CLICKED_FORWARD, - destinationFmgPageValue: fmgPageValues.VEHICLE_DAMAGE, + destinationFmgPageValue: fmgPageValues.REVIEW, }, ], },