Skip to content

Commit 31af861

Browse files
committed
HOTFIX: clear state for empty input
1 parent ef4ea99 commit 31af861

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

packages/ui-stencil/src/components/internal/orama-search/orama-search.tsx

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -39,10 +39,6 @@ export class OramaSearch {
3939
private chatStore: ChatStoreType
4040

4141
doSearch() {
42-
if (!this.globalStore.state.currentTerm) {
43-
return
44-
}
45-
4642
this.searchStore.state.searchService.search(this.globalStore.state.currentTerm, this.selectedFacet, {
4743
onSearchCompletedCallback: (onSearchCompletedCallbackProps) => {
4844
this.searchCompleted.emit(onSearchCompletedCallbackProps)

0 commit comments

Comments
 (0)