Merge pull request #2306 from tugcekucukoglu/refactor

Refactor #2168
pull/2307/head
Tuğçe Küçükoğlu 2022-03-11 14:14:04 +03:00 committed by GitHub
commit 22721e81ce
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 5 additions and 8 deletions

View File

@ -558,8 +558,6 @@ export default {
value = []; value = [];
} }
else if (this.visibleOptions) { else if (this.visibleOptions) {
if (this.optionGroupLabel) {
value = [];
if (this.optionGroupLabel) { if (this.optionGroupLabel) {
value = []; value = [];
this.visibleOptions.forEach(optionGroup => { this.visibleOptions.forEach(optionGroup => {
@ -568,7 +566,6 @@ export default {
} }
}); });
} }
}
else { else {
value = this.visibleOptions.map(option => this.getOptionValue(option)); value = this.visibleOptions.map(option => this.getOptionValue(option));
} }