mirror of
https://github.com/immich-app/immich.git
synced 2025-11-30 21:29:44 +09:00
refactor(web): search people (#9082)
* refactor: search people * fix: test * fix: timeout * fix: callbacks * fix: simplify * remove unused var * refactor: rename file * fix: focus when deleting last character --------- Co-authored-by: Alex Tran <alex.tran1502@gmail.com> Co-authored-by: Jason Rasmussen <jrasm91@gmail.com>
This commit is contained in:
@@ -81,6 +81,6 @@ export function navigate<T extends Route>(change: T): Promise<void> {
|
||||
export const clearQueryParam = async (queryParam: string, url: URL) => {
|
||||
if (url.searchParams.has(queryParam)) {
|
||||
url.searchParams.delete(queryParam);
|
||||
await goto(url);
|
||||
await goto(url, { keepFocus: true });
|
||||
}
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user