From 6b326e29d27171f8e8aa1c222be59c963401daab Mon Sep 17 00:00:00 2001 From: Katie Date: Wed, 10 Aug 2022 16:32:00 -0400 Subject: [PATCH] CSR-778 Fix equality check --- .../vehicle-damage/windshield-options/windshield-options.vue | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/layouts/vehicle-damage/windshield-options/windshield-options.vue b/src/layouts/vehicle-damage/windshield-options/windshield-options.vue index 85606eb9c..f0450bbca 100644 --- a/src/layouts/vehicle-damage/windshield-options/windshield-options.vue +++ b/src/layouts/vehicle-damage/windshield-options/windshield-options.vue @@ -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);