diff --git a/src/layouts/review/review.vue b/src/layouts/review/review.vue index 2a152f8fd..3f7e45639 100644 --- a/src/layouts/review/review.vue +++ b/src/layouts/review/review.vue @@ -40,7 +40,7 @@ + @edit-clicked="editVehicle" />
@@ -93,9 +93,9 @@ export default { }, backButtonAction() {}, forwardButtonAction() {}, - navigateToVehicleYear() { + editVehicle() { this.$router.navigateWithoutSaving( - this.navigationScenarios.REVIEW_VEHICLE_EDIT, + this.navigationScenarios.CLICKED_VEHICLE_EDIT, this.$route ); }, diff --git a/src/router/router-constants/navigation-scenarios.js b/src/router/router-constants/navigation-scenarios.js index 012d327d7..4b61687cb 100644 --- a/src/router/router-constants/navigation-scenarios.js +++ b/src/router/router-constants/navigation-scenarios.js @@ -50,7 +50,7 @@ const navigationScenarios = { SELECTED_LOCATION: "SELECTED_LOCATION", // Review - REVIEW_VEHICLE_EDIT: "REVIEW_VEHICLE_EDIT", + CLICKED_VEHICLE_EDIT: "CLICKED_VEHICLE_EDIT", }; export { navigationScenarios }; diff --git a/src/router/router-constants/routing-table.js b/src/router/router-constants/routing-table.js index 4c6232bfc..0f2bfa355 100644 --- a/src/router/router-constants/routing-table.js +++ b/src/router/router-constants/routing-table.js @@ -439,7 +439,7 @@ const routingTable = function (store) { fmgPageValue: fmgPageValues.REVIEW, maps: [ { - scenario: navigationScenarios.REVIEW_VEHICLE_EDIT, + scenario: navigationScenarios.CLICKED_VEHICLE_EDIT, destinationFmgPageValue: fmgPageValues.VEHICLE_YEAR, }, ],