Cosmetics

pull/2835/head
mertsincan 2022-08-02 10:17:17 +01:00
parent d60c2d15e8
commit 5309386739
4 changed files with 4 additions and 4 deletions

View File

@ -828,7 +828,7 @@ export default {
if (this.optionGroupLabel) {
options = options.reduce((result, option, index) => {
result.push({ optionGroup: option, group: true, groupIndex: index });
result.push({ optionGroup: option, group: true, index });
let optionGroupChildren = this.getOptionGroupChildren(option);
optionGroupChildren && optionGroupChildren.forEach(o => result.push(o));

View File

@ -813,7 +813,7 @@ export default {
if (this.optionGroupLabel) {
options = options.reduce((result, option, index) => {
result.push({ optionGroup: option, group: true, groupIndex: index });
result.push({ optionGroup: option, group: true, index });
let optionGroupChildren = this.getOptionGroupChildren(option);
optionGroupChildren && optionGroupChildren.forEach(o => result.push(o));

View File

@ -641,7 +641,7 @@ export default {
if (this.optionGroupLabel) {
options = options.reduce((result, option, index) => {
result.push({ optionGroup: option, group: true, groupIndex: index });
result.push({ optionGroup: option, group: true, index });
let optionGroupChildren = this.getOptionGroupChildren(option);
optionGroupChildren && optionGroupChildren.forEach(o => result.push(o));

View File

@ -943,7 +943,7 @@ export default {
if (this.optionGroupLabel) {
options = options.reduce((result, option, index) => {
result.push({ optionGroup: option, group: true, groupIndex: index });
result.push({ optionGroup: option, group: true, index });
let optionGroupChildren = this.getOptionGroupChildren(option);
optionGroupChildren && optionGroupChildren.forEach(o => result.push(o));