fix(web): search page navigation and asset select (#2191)

This commit is contained in:
Michel Heusschen 2023-04-06 19:50:44 +02:00 committed by GitHub
parent d7c1005a50
commit b03ce897c7
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 20 additions and 8 deletions

View file

@ -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) => {