Skip to content

Commit

Permalink
[ALS-7674] Run search on new empty search term state (#366)
Browse files Browse the repository at this point in the history
  • Loading branch information
srpiatt authored Feb 4, 2025
1 parent 4b839d2 commit 45ad424
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions src/lib/components/explorer/Explorer.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -63,10 +63,8 @@
});
unsubSearchTerm = searchTerm.subscribe(() => {
if ($searchTerm) {
handler.setPage(1);
handler.invalidate();
}
handler.setPage(1);
handler.invalidate();
});
if (searchInput) {
Expand Down

0 comments on commit 45ad424

Please sign in to comment.