mirror of
https://github.com/immich-app/immich
synced 2025-11-07 17:27:20 +00:00
fix: required argument in onClose modal function (#19122)
This commit is contained in:
parent
4c5cd14270
commit
5179c5badf
3 changed files with 14 additions and 9 deletions
|
|
@ -10,11 +10,11 @@
|
|||
import { generateId } from '$lib/utils/generate-id';
|
||||
import { getMetadataSearchQuery } from '$lib/utils/metadata-search';
|
||||
import type { MetadataSearchDto, SmartSearchDto } from '@immich/sdk';
|
||||
import { IconButton } from '@immich/ui';
|
||||
import { mdiClose, mdiMagnify, mdiTune } from '@mdi/js';
|
||||
import { onDestroy, tick } from 'svelte';
|
||||
import { t } from 'svelte-i18n';
|
||||
import SearchHistoryBox from './search-history-box.svelte';
|
||||
import { IconButton } from '@immich/ui';
|
||||
|
||||
interface Props {
|
||||
value?: string;
|
||||
|
|
@ -93,7 +93,7 @@
|
|||
}
|
||||
|
||||
const result = modalManager.open(SearchFilterModal, { searchQuery });
|
||||
close = result.close;
|
||||
close = () => result.close(undefined);
|
||||
closeDropdown();
|
||||
|
||||
const searchResult = await result.onClose;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue