feat: add refresh button to admin and user dashboard pages

This commit is contained in:
shaw
2026-03-31 13:53:49 +08:00
parent 318aa5e0d3
commit a025a15f5d
3 changed files with 10 additions and 3 deletions

View File

@@ -219,6 +219,9 @@
@change="onDateRangeChange"
/>
</div>
<button @click="loadDashboardStats" :disabled="chartsLoading" class="btn btn-secondary">
{{ t('common.refresh') }}
</button>
<div class="ml-auto flex items-center gap-2">
<span class="text-sm font-medium text-gray-700 dark:text-gray-300"
>{{ t('admin.dashboard.granularity') }}:</span