Skip to content

Commit 199bc04

Browse files
committed
fix(command): remove searchTerm condition from empty state display logic
1 parent 71796eb commit 199bc04

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/components/command/command.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -120,7 +120,7 @@ provideCommandExtraThemeContext({
120120
</template>
121121
</ListboxFilter>
122122
<ListboxContent v-bind="listProps">
123-
<div v-if="!filteredItems.length && searchTerm" :class="ui.empty">
123+
<div v-if="!filteredItems.length" :class="ui.empty">
124124
<slot name="empty">{{ emptyLabel }}</slot>
125125
</div>
126126
<SCommandOption

0 commit comments

Comments
 (0)