Skip to content
This repository has been archived by the owner on Mar 29, 2024. It is now read-only.

Commit

Permalink
Move Search History toggle to filters
Browse files Browse the repository at this point in the history
  • Loading branch information
dhaavi committed Aug 1, 2023
1 parent 8efa7ed commit 2f3fab9
Showing 1 changed file with 7 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -115,6 +115,13 @@ <h3 class="flex items-center gap-2 px-3 py-0.5 mb-0 border-b border-gray-300 tex
</ng-container>
</sfng-dropdown>

<div class="flex flex-row items-center gap-2 px-2 py-1 bg-gray-300 border border-gray-300 rounded text-xxs"
*ngIf="(canUseHistory$ | async)">
<sfng-toggle [(ngModel)]="useHistory" (ngModelChange)="performSearch()">
</sfng-toggle>
Search History
</div>

<div class="flex-grow"></div>

<div class="flex flex-row items-center gap-3">
Expand Down Expand Up @@ -142,12 +149,6 @@ <h3 class="flex items-center gap-2 px-3 py-0.5 mb-0 border-b border-gray-300 tex
</ng-container>
</sfng-select>

<div class="flex flex-row items-center gap-2 px-2 py-1 bg-gray-300 border border-gray-300 rounded text-xxs"
*ngIf="(canUseHistory$ | async)">
<sfng-toggle [(ngModel)]="useHistory" (ngModelChange)="performSearch()">
</sfng-toggle>
Use History
</div>
</div>
</div>

Expand Down

0 comments on commit 2f3fab9

Please sign in to comment.