mirror of
https://github.com/immich-app/immich.git
synced 2025-12-05 12:23:58 +09:00
chore(web): migration svelte 5 syntax (#13883)
This commit is contained in:
@@ -2,8 +2,12 @@
|
||||
import RadioButton from '$lib/components/elements/radio-button.svelte';
|
||||
import { t } from 'svelte-i18n';
|
||||
|
||||
export let query: string | undefined;
|
||||
export let queryType: 'smart' | 'metadata' = 'smart';
|
||||
interface Props {
|
||||
query: string | undefined;
|
||||
queryType?: 'smart' | 'metadata';
|
||||
}
|
||||
|
||||
let { query = $bindable(), queryType = $bindable('smart') }: Props = $props();
|
||||
</script>
|
||||
|
||||
<fieldset>
|
||||
|
||||
Reference in New Issue
Block a user