mirror of
https://github.com/immich-app/immich.git
synced 2025-12-12 15:50:43 -08:00
fix: label 'for' attributes in user-api-key-grid (#24232)
This commit is contained in:
@@ -39,7 +39,7 @@
|
|||||||
checked={selectAllSubItems}
|
checked={selectAllSubItems}
|
||||||
onCheckedChange={handleSelectAllSubItems}
|
onCheckedChange={handleSelectAllSubItems}
|
||||||
/>
|
/>
|
||||||
<Label label={title} for={title} class="font-mono text-primary text-lg" />
|
<Label label={title} for="permission-{title}" class="font-mono text-primary text-lg" />
|
||||||
</div>
|
</div>
|
||||||
<div class="mx-6 mt-3 grid grid-cols-3 gap-2">
|
<div class="mx-6 mt-3 grid grid-cols-3 gap-2">
|
||||||
{#each subItems as item (item)}
|
{#each subItems as item (item)}
|
||||||
@@ -50,7 +50,7 @@
|
|||||||
checked={selectedItems.includes(item)}
|
checked={selectedItems.includes(item)}
|
||||||
onCheckedChange={() => handleToggleItem(item)}
|
onCheckedChange={() => handleToggleItem(item)}
|
||||||
/>
|
/>
|
||||||
<Label label={item} for={item} class="text-sm font-mono" />
|
<Label label={item} for="permission-{item}" class="text-sm font-mono" />
|
||||||
</div>
|
</div>
|
||||||
{/each}
|
{/each}
|
||||||
</div>
|
</div>
|
||||||
|
|||||||
Reference in New Issue
Block a user