Merge pull request #1205 from Safelite/CSR-1362-remove-unneeded-code

CSR-1362 remove unneeded code. Update navigation location.
This commit is contained in:
bmauger 2023-07-05 15:16:47 -04:00 committed by GitHub
commit ee4e244509
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 1 additions and 7 deletions

View file

@ -401,10 +401,7 @@ export default {
false
);
this.$router.navigateWithSaving(
this.navigationScenarios.SELECTED_LOCATION,
this.$route
);
this.$router.navigateWithSaving(this.navigationScenarios.SCHEDULE, this.$route);
},
openModalAction(modalName) {
this.$refs[modalName].openModal();

View file

@ -46,9 +46,6 @@ const navigationScenarios = {
CLICKED_BACK_WITH_VIN_AND_NO_MORE_QUESTIONS: "CLICKED_BACK_WITH_VIN_AND_NO_MORE_QUESTIONS",
CLICKED_BACK_WITH_NO_VIN_NOR_QUESTIONS: "CLICKED_BACK_WITH_NO_VIN_NOR_QUESTIONS",
// Scheduling
SELECTED_LOCATION: "SELECTED_LOCATION",
// Review
CLICKED_VEHICLE_EDIT: "CLICKED_VEHICLE_EDIT",
CLICKED_DAMAGE_EDIT: "CLICKED_DAMAGE_EDIT",