Skip to content

Commit

Permalink
fix(ui): keep searchText in local storage
Browse files Browse the repository at this point in the history
Fix: #1437
  • Loading branch information
YLeight committed Jan 23, 2024
1 parent ec3a6c6 commit c0e54c3
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions frontend/app/src/store/ui.ts
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,7 @@ class UiStore {
this.tags = t;
}

@persist
searchText = '';
setSearchText(s: string) {
this.searchText = s.toLowerCase();
Expand Down

0 comments on commit c0e54c3

Please sign in to comment.