Skip to content

Commit c107918

Browse files
committed
refactor(MultiSelect): fix eslint errors
1 parent 77c2f35 commit c107918

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

js/src/multi-select.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -733,6 +733,7 @@ class MultiSelect extends BaseComponent {
733733

734734
const optgroup = option.closest(SELECTOR_OPTGROUP)
735735
if (optgroup) {
736+
// eslint-disable-next-line unicorn/prefer-array-some
736737
if (SelectorEngine.children(optgroup, SELECTOR_OPTION).filter(element => this._isVisible(element)).length > 0) {
737738
optgroup.style.removeProperty('display')
738739
} else {

0 commit comments

Comments
 (0)