reverting change

This commit is contained in:
Michaela Brydon 2023-11-08 13:20:56 -05:00
parent 16c4bd4732
commit 29c25a17c3

View file

@ -93,7 +93,6 @@ import errorMessages from '@/constants/error-messages';
import damageLocationsCms from '@/constants/damage-locations-cms.js';
import damageLocationsSelected from '@/constants/damage-locations-selected.js';
import { useMainStore } from '@/store';
import routerParams from '@/router/router-constants/router-params';
// DEFINE VALIDATION RULES
defineRule('replace-options-required', required(errorMessages.REPLACE_OPTIONS_REQUIRED));
@ -227,7 +226,7 @@ export default {
);
},
shouldDisplayVehicleChangeAlert() {
return this.$route.params[routerParams.DISPLAY_VEHICLE_CHANGE_ALERT];
return this.$route.params[this.routerParams.DISPLAY_VEHICLE_CHANGE_ALERT];
}
},
methods: {