feat(web): reset pin code (#20766)

This commit is contained in:
Jason Rasmussen
2025-08-07 15:07:31 -04:00
committed by GitHub
parent 1d4d8e7a9a
commit cfbc24579d
6 changed files with 112 additions and 18 deletions
@@ -1,4 +1,5 @@
<script lang="ts">
import { Label } from '@immich/ui';
import { onMount } from 'svelte';
interface Props {
@@ -115,7 +116,7 @@
<div class="flex flex-col gap-1">
{#if label}
<label class="text-xs text-dark" for={pinCodeInputElements[0]?.id}>{label.toUpperCase()}</label>
<Label for={pinCodeInputElements[0]?.id}>{label}</Label>
{/if}
<div class="flex gap-2">
{#each { length: pinLength } as _, index (index)}