mirror of
https://github.com/immich-app/immich.git
synced 2025-12-22 17:24:56 +03:00
merge main
This commit is contained in:
16
web/src/lib/modals/WorkflowDeleteConfirmModal.svelte
Normal file
16
web/src/lib/modals/WorkflowDeleteConfirmModal.svelte
Normal file
@@ -0,0 +1,16 @@
|
||||
<script lang="ts">
|
||||
import { ConfirmModal } from '@immich/ui';
|
||||
import { t } from 'svelte-i18n';
|
||||
|
||||
type Props = {
|
||||
onClose: (confirmed: boolean) => void;
|
||||
};
|
||||
|
||||
let { onClose }: Props = $props();
|
||||
</script>
|
||||
|
||||
<ConfirmModal
|
||||
confirmColor="danger"
|
||||
prompt={$t('workflow_delete_prompt')}
|
||||
onClose={(confirmed) => (confirmed ? onClose(true) : onClose(false))}
|
||||
/>
|
||||
Reference in New Issue
Block a user