Files
immich/web/src/routes/maintenance/RestoreFlowSelectBackup.svelte
T
Daniel DietzlerandGitHub 5e9bda7fab chore: tailwind linting (#28165)
chore: tailwind cannonical classes
2026-05-01 00:18:03 -04:00

24 lines
871 B
Svelte

<script lang="ts">
import { Button, Heading, HStack, Scrollable } from '@immich/ui';
import { mdiArrowLeft } from '@mdi/js';
import { t } from 'svelte-i18n';
import MaintenanceBackupsList from '$lib/components/maintenance/MaintenanceBackupsList.svelte';
type Props = {
previous: () => void;
end: () => void;
expectedVersion: string;
};
const { previous, end, expectedVersion }: Props = $props();
</script>
<Heading size="large" color="primary" tag="h1">{$t('maintenance_restore_from_backup')}</Heading>
<Scrollable class="max-h-120 w-full rounded-2xl border border-light-300 bg-white p-4 dark:bg-black">
<MaintenanceBackupsList {expectedVersion} />
</Scrollable>
<HStack>
<Button onclick={end} variant="ghost">{$t('cancel')}</Button>
<Button onclick={previous} variant="ghost" leadingIcon={mdiArrowLeft}>{$t('back')}</Button>
</HStack>