From 6b326e29d27171f8e8aa1c222be59c963401daab Mon Sep 17 00:00:00 2001 From: Katie Date: Wed, 10 Aug 2022 16:32:00 -0400 Subject: [PATCH 01/29] 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); From 2fd175711ae88d1ff41abab65ea97c1eb701cf9a Mon Sep 17 00:00:00 2001 From: Katie Date: Mon, 15 Aug 2022 10:15:30 -0400 Subject: [PATCH 02/29] CSR-111 Get capability questions --- .../question-chain/question-chain.vue | 2 ++ src/constants/endpoints.js | 4 +++ src/constants/store-actions.js | 1 + .../capability-questions.vue | 32 +++++++++++-------- src/layouts/vehicle-parts/vehicle-parts.vue | 4 +-- src/mixins/vin-pages-mixin.js | 6 +++- src/router/router-constants/routing-table.js | 4 +++ src/store/index.js | 7 ++++ 8 files changed, 43 insertions(+), 17 deletions(-) diff --git a/src/common-components/question-chain/question-chain.vue b/src/common-components/question-chain/question-chain.vue index 9fa281f50..b79c7f341 100644 --- a/src/common-components/question-chain/question-chain.vue +++ b/src/common-components/question-chain/question-chain.vue @@ -1,5 +1,7 @@