Merge pull request #1144 from Safelite/feature/CSR-1368-tr

Address tech review comments
This commit is contained in:
chloeherdsafelite 2023-06-05 16:24:15 -04:00 committed by GitHub
commit f456f384db
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 5 additions and 5 deletions

View file

@ -40,7 +40,7 @@
<vehicleReview
cmsWidgetName="VehicleReviewWidget"
:vehicle="vehicleInfo"
@edit-clicked="navigateToVehicleYear" />
@edit-clicked="editVehicle" />
</div>
<hr class="my-0" />
@ -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
);
},

View file

@ -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 };

View file

@ -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,
},
],