CSR-835 Update list-button-horizontal, getPartsOrQuestions call

This commit is contained in:
Katie 2022-09-13 17:11:52 -04:00
parent 1f68cf3797
commit ff6a45e6e4
2 changed files with 2 additions and 3 deletions

View file

@ -717,7 +717,7 @@ export const actions = {
endpoint: endpoints.GetPartsOrQuestions.url, endpoint: endpoints.GetPartsOrQuestions.url,
payload: { payload: {
carId: carId, carId: carId,
glass: glassArray, glass: glassArray ?? [],
zip: zipCode, zip: zipCode,
vin: vin vin: vin
}, },

View file

@ -14,7 +14,6 @@
:name="groupName" :name="groupName"
:value="value" :value="value"
:aria-required="isRequired" :aria-required="isRequired"
v-model="checkValue"
:checked="checkValue" :checked="checkValue"
@change="handleInputChange()" @change="handleInputChange()"
/> />
@ -91,7 +90,7 @@ export default {
if (Array.isArray(this.selectedValues)) { if (Array.isArray(this.selectedValues)) {
this.checkValue = this.isMultiSelect this.checkValue = this.isMultiSelect
? this.selectedValues.includes(this.value) ? this.selectedValues.includes(this.value)
: this.selectedValues[0]; : this.selectedValues[0] == this.value;
} }
}, },
methods: { methods: {