frontend fix warnign

pull/3811/head
Chung 2025-03-20 00:32:00 +09:00
parent 38a96dfdf7
commit 63f2613ac4
No known key found for this signature in database
GPG Key ID: CAC41B51C1186163
3 changed files with 27 additions and 21 deletions

View File

@ -7,12 +7,14 @@
<template v-if="listing">
<div class="card-content">
<table>
<tr>
<th>#</th>
<th>{{ $t("settings.shareDuration") }}</th>
<th></th>
<th></th>
</tr>
<thead>
<tr>
<th>#</th>
<th>{{ $t("settings.shareDuration") }}</th>
<th></th>
<th></th>
</tr>
</thead>
<tr v-for="link in links" :key="link.hash">
<td>{{ link.hash }}</td>

View File

@ -9,15 +9,17 @@
<div class="card-content full" v-if="links.length > 0">
<table>
<tr>
<th>{{ t("settings.path") }}</th>
<th>{{ t("settings.shareDuration") }}</th>
<th v-if="authStore.user?.perm.admin">
{{ t("settings.username") }}
</th>
<th></th>
<th></th>
</tr>
<thead>
<tr>
<th>{{ t("settings.path") }}</th>
<th>{{ t("settings.shareDuration") }}</th>
<th v-if="authStore.user?.perm.admin">
{{ t("settings.username") }}
</th>
<th></th>
<th></th>
</tr>
</thead>
<tr v-for="link in links" :key="link.hash">
<td>

View File

@ -14,12 +14,14 @@
<div class="card-content full">
<table>
<tr>
<th>{{ t("settings.username") }}</th>
<th>{{ t("settings.admin") }}</th>
<th>{{ t("settings.scope") }}</th>
<th></th>
</tr>
<thead>
<tr>
<th>{{ t("settings.username") }}</th>
<th>{{ t("settings.admin") }}</th>
<th>{{ t("settings.scope") }}</th>
<th></th>
</tr>
</thead>
<tr v-for="user in users" :key="user.id">
<td>{{ user.username }}</td>