Skip to content

Commit

Permalink
Update search bar button to allow empty search.
Browse files Browse the repository at this point in the history
  • Loading branch information
srpiatt committed Jan 29, 2025
1 parent 44b72af commit 1c11689
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 1 deletion.
1 change: 0 additions & 1 deletion src/lib/components/Searchbox.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,6 @@
class="btn variant-filled-primary search-button"
aria-label="Search"
title="Search"
disabled={!searchTerm}
on:click={search}
>
<i class="fas fa-search"></i>
Expand Down
1 change: 1 addition & 0 deletions src/lib/components/explorer/Explorer.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -94,6 +94,7 @@
searchInput = '';
searchTerm.set('');
error.set('');
selectedFacets.set([]);
tourEnabled = true;
goto(isOpenAccess ? '/discover' : '/explorer');
}
Expand Down

0 comments on commit 1c11689

Please sign in to comment.