CSR-778 Fix equality check
This commit is contained in:
parent
7ec0a8a149
commit
6b326e29d2
1 changed files with 2 additions and 2 deletions
|
|
@ -153,12 +153,12 @@ export default ({
|
|||
isRepairOptionSelected(){
|
||||
if (!this.selectedWindshieldDamageTypeValues) return false;
|
||||
|
||||
return this.selectedWindshieldDamageTypeValues.some(val => val.toUpperCase() === damageLocationsSelected.REPAIR) && this.isWindshieldDamageLocation;
|
||||
return this.selectedWindshieldDamageTypeValues.some(val => val === damageLocationsSelected.REPAIR) && this.isWindshieldDamageLocation;
|
||||
},
|
||||
isReplaceOptionSelected(){
|
||||
if (!this.selectedWindshieldDamageTypeValues) return false;
|
||||
|
||||
return this.selectedWindshieldDamageTypeValues.some(val => val.toUpperCase() === damageLocationsSelected.REPLACE) && this.isWindshieldDamageLocation;
|
||||
return this.selectedWindshieldDamageTypeValues.some(val => val === damageLocationsSelected.REPLACE) && this.isWindshieldDamageLocation;
|
||||
},
|
||||
isWindshieldReplaceAvailable() {
|
||||
return !(Array.isArray(this.windshieldAvailableReplacementOptions) && this.windshieldAvailableReplacementOptions.length < 1);
|
||||
|
|
|
|||
Loading…
Reference in a new issue