mirror of
https://github.com/immich-app/immich
synced 2025-11-07 17:27:20 +00:00
fix(web): update search results when searching from info panel (#16729)
* fix(web): update search results when searching from info panel * Prevent double search when using search bar * Format/lint * Fix infinite loading on intersect * Remove redundant function
This commit is contained in:
parent
d72d715f6b
commit
a75718ce99
2 changed files with 22 additions and 27 deletions
|
|
@ -19,10 +19,9 @@
|
|||
value?: string;
|
||||
grayTheme: boolean;
|
||||
searchQuery?: MetadataSearchDto | SmartSearchDto;
|
||||
onSearch?: () => void;
|
||||
}
|
||||
|
||||
let { value = $bindable(''), grayTheme, searchQuery = {}, onSearch }: Props = $props();
|
||||
let { value = $bindable(''), grayTheme, searchQuery = {} }: Props = $props();
|
||||
|
||||
let showClearIcon = $derived(value.length > 0);
|
||||
|
||||
|
|
@ -43,7 +42,6 @@
|
|||
showFilter = false;
|
||||
$isSearchEnabled = false;
|
||||
await goto(`${AppRoute.SEARCH}?${params}`);
|
||||
onSearch?.();
|
||||
};
|
||||
|
||||
const clearSearchTerm = (searchTerm: string) => {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue