This commit is contained in:
haruka
2026-03-10 11:33:25 +08:00
parent de18bce9aa
commit b41a8ca93f
3 changed files with 156 additions and 5 deletions

View File

@@ -373,7 +373,8 @@
<button
v-if="row.status === 'active'"
@click="handleResetQuota(row)"
class="flex flex-col items-center gap-0.5 rounded-lg p-1.5 text-gray-500 transition-colors hover:bg-orange-50 hover:text-orange-600 dark:hover:bg-orange-900/20 dark:hover:text-orange-400"
:disabled="resettingQuota && resettingSubscription?.id === row.id"
class="flex flex-col items-center gap-0.5 rounded-lg p-1.5 text-gray-500 transition-colors hover:bg-orange-50 hover:text-orange-600 dark:hover:bg-orange-900/20 dark:hover:text-orange-400 disabled:cursor-not-allowed disabled:opacity-50"
>
<Icon name="refresh" size="sm" />
<span class="text-xs">{{ t('admin.subscriptions.resetQuota') }}</span>