mirror of
https://github.com/immich-app/immich.git
synced 2025-11-25 18:10:48 +09: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:
@@ -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) => {
|
||||
|
||||
Reference in New Issue
Block a user