Skip to content

Commit 80dd52a

Browse files
authored
Merge pull request #1926 from shentao/fix-1636
fix(1636): list-not-empty
2 parents 140590d + 1ac029a commit 80dd52a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Multiselect.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -150,7 +150,7 @@
150150
<slot name="noResult" :search="search">No elements found. Consider changing the search query.</slot>
151151
</span>
152152
</li>
153-
<li v-show="showNoOptions && ((options.length === 0 || (hasOptionGroup === true && filteredOptions.length === 0)) && !search && !loading)">
153+
<li v-show="showNoOptions && filteredOptions.length === 0 && !search && !loading">
154154
<span class="multiselect__option">
155155
<slot name="noOptions">List is empty.</slot>
156156
</span>

0 commit comments

Comments
 (0)