1
0
mirror of https://github.com/pocket-id/pocket-id.git synced 2026-02-15 09:20:12 +00:00

fix: add back month and year selection for date picker

This commit is contained in:
Elias Schneider
2025-05-23 11:56:08 +02:00
parent 869c4c5871
commit 6c35570e78
4 changed files with 110 additions and 39 deletions

View File

@@ -19,7 +19,7 @@
</script>
<Dialog.Root open={!!apiKeyResponse} {onOpenChange}>
<Dialog.Content class="max-w-md">
<Dialog.Content class="max-w-md" onOpenAutoFocus={(e) => e.preventDefault()}>
<Dialog.Header>
<Dialog.Title>{m.api_key_created()}</Dialog.Title>
<Dialog.Description>
@@ -30,7 +30,6 @@
<div>
<div class="mb-2 font-medium">{m.name()}</div>
<p class="text-muted-foreground">{apiKeyResponse.apiKey.name}</p>
{#if apiKeyResponse.apiKey.description}
<div class="mt-4 mb-2 font-medium">{m.description()}</div>
<p class="text-muted-foreground">{apiKeyResponse.apiKey.description}</p>