CSR-296: remove test var

This commit is contained in:
Adam Caouette 2022-02-23 09:15:50 -05:00
parent e2bd611f03
commit 0848dafe48

View file

@ -104,15 +104,11 @@ export default {
},
computed: {
isRearWindowDamageLocation() {
if (this.selectedDamageLocations) {
const myTest = this.selectedDamageLocations.some(selectedDamages =>
{
return Boolean(selectedDamages.toUpperCase() === "REARWINDOW");
});
return myTest;
} else {
return false;
}
return Boolean(this.selectedDamageLocations.some(selectedDamages =>
{
return selectedDamages.toUpperCase() === "REARWINDOW";
})
);
},
},
data(){