mirror of
https://github.com/immich-app/immich.git
synced 2025-06-01 04:36:19 -04:00
* feat: force delete with shift key * fix: types import * pr feedback * fix: permanently delete assets * fix: format * fix: remove unused variable * change info title * simplify * fix: rename function name * pr feedback * simplify * pr feedback * add toggle in the user settings * fix: trash settings, input label, and wording --------- Co-authored-by: Jason Rasmussen <jrasm91@gmail.com>
24 lines
699 B
Svelte
24 lines
699 B
Svelte
<script lang="ts">
|
|
import SettingSwitch from '../admin-page/settings/setting-switch.svelte';
|
|
import { showDeleteModal } from '$lib/stores/preferences.store';
|
|
import { fade } from 'svelte/transition';
|
|
</script>
|
|
|
|
<section class="my-4">
|
|
<div in:fade={{ duration: 500 }}>
|
|
<form autocomplete="off" on:submit|preventDefault>
|
|
<div class="ml-4 mt-4 flex flex-col gap-4">
|
|
<div class="ml-4">
|
|
<SettingSwitch
|
|
title="Permanent deletion warning"
|
|
subtitle="Show a warning when permanently deleting assets"
|
|
bind:checked={$showDeleteModal}
|
|
/>
|
|
</div>
|
|
</div>
|
|
</form>
|
|
</div>
|
|
</section>
|
|
|
|
<div class="ml-4 mb-4"></div>
|