Skip to content

Commit

Permalink
Revert "fix: disabled grouped options get extra multiselect__option--…
Browse files Browse the repository at this point in the history
…group class (#1081) (#1125)"

This reverts commit 73b57cf.
  • Loading branch information
shentao committed Mar 9, 2020
1 parent 73b57cf commit 6eb2703
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions src/pointerMixin.js
Original file line number Diff line number Diff line change
Expand Up @@ -48,10 +48,7 @@ export default {
},
groupHighlight (index, selectedGroup) {
if (!this.groupSelect) {
return [
'multiselect__option--disabled',
{ 'multiselect__option--group': selectedGroup.$isLabel }
];
return ['multiselect__option--group', 'multiselect__option--disabled']
}

const group = this.options.find(option => {
Expand Down

0 comments on commit 6eb2703

Please sign in to comment.