mirror of
https://github.com/immich-app/immich
synced 2025-11-07 17:27:20 +00:00
fix(web): search page navigation and asset select (#2191)
This commit is contained in:
parent
d7c1005a50
commit
b03ce897c7
3 changed files with 20 additions and 8 deletions
|
|
@ -8,10 +8,6 @@
|
|||
export let value = '';
|
||||
export let grayTheme: boolean;
|
||||
|
||||
// Replace state to immediately go back to previous page, instead
|
||||
// of having to go through every search query.
|
||||
export let replaceHistoryState = false;
|
||||
|
||||
let showBigSearchBar = false;
|
||||
$: showClearIcon = value.length > 0;
|
||||
|
||||
|
|
@ -33,7 +29,7 @@
|
|||
clip: clipSearch
|
||||
});
|
||||
|
||||
goto(`${AppRoute.SEARCH}?${params}`, { replaceState: replaceHistoryState });
|
||||
goto(`${AppRoute.SEARCH}?${params}`);
|
||||
}
|
||||
|
||||
const saveSearchTerm = (saveValue: string) => {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue