Merge pull request #911 from Safelite/defect/CSR-1027
CSR-1027 Change default for back glass if slider is no longer available
This commit is contained in:
commit
b4804a7b20
1 changed files with 11 additions and 0 deletions
|
|
@ -101,6 +101,17 @@ export default {
|
||||||
this.selectedValues = this.isMultiSelect ? [] : "";
|
this.selectedValues = this.isMultiSelect ? [] : "";
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
replaceOptions(replaceOptions) {
|
||||||
|
// For rear window, in case user chooses slider and later comes back
|
||||||
|
// with a vehicle with only stationary
|
||||||
|
if (
|
||||||
|
!Array.isArray(this.selectedValues) &&
|
||||||
|
!replaceOptions.includes(this.selectedValues)
|
||||||
|
) {
|
||||||
|
this.selectedValues = null;
|
||||||
|
this.updateSelectedValues();
|
||||||
|
}
|
||||||
|
},
|
||||||
},
|
},
|
||||||
components: {
|
components: {
|
||||||
buttonQuestion,
|
buttonQuestion,
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue