refactor: admin settings (#22109)

This commit is contained in:
Jason Rasmussen 2025-09-16 17:15:57 -04:00 committed by GitHub
parent a88a9a7d5e
commit 2012b07645
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
27 changed files with 72 additions and 72 deletions

View file

@ -0,0 +1,16 @@
<script lang="ts">
import { Icon, Text } from '@immich/ui';
import { mdiCheck, mdiClose } from '@mdi/js';
interface Props {
title: string;
state: boolean;
}
let { title, state }: Props = $props();
</script>
<div class="flex justify-between items-center">
<Text class="text-sm font-medium">{title}</Text>
<Icon icon={state ? mdiCheck : mdiClose} class={state ? 'text-primary' : 'text-danger'} size="24" />
</div>