fix: wrap API tokens table rows in thead and tbody elements

This commit is contained in:
kolaente 2026-02-16 10:52:51 +01:00
parent 30e53dbd9f
commit b66b75f5be
No known key found for this signature in database
GPG Key ID: F40E70337AB24C9B
1 changed files with 14 additions and 10 deletions

View File

@ -221,16 +221,19 @@ function toggleGroupPermissionsFromChild(group: string, checked: boolean) {
v-if="tokens.length > 0"
class="table"
>
<tr>
<th>{{ $t('misc.id') }}</th>
<th>{{ $t('user.settings.apiTokens.attributes.title') }}</th>
<th>{{ $t('user.settings.apiTokens.attributes.permissions') }}</th>
<th>{{ $t('user.settings.apiTokens.attributes.expiresAt') }}</th>
<th>{{ $t('misc.created') }}</th>
<th class="has-text-end">
{{ $t('misc.actions') }}
</th>
</tr>
<thead>
<tr>
<th>{{ $t('misc.id') }}</th>
<th>{{ $t('user.settings.apiTokens.attributes.title') }}</th>
<th>{{ $t('user.settings.apiTokens.attributes.permissions') }}</th>
<th>{{ $t('user.settings.apiTokens.attributes.expiresAt') }}</th>
<th>{{ $t('misc.created') }}</th>
<th class="has-text-end">
{{ $t('misc.actions') }}
</th>
</tr>
</thead>
<tbody>
<tr
v-for="tk in tokens"
:key="tk.id"
@ -266,6 +269,7 @@ function toggleGroupPermissionsFromChild(group: string, checked: boolean) {
</XButton>
</td>
</tr>
</tbody>
</table>
<form