diff --git a/frontend/src/components/admin/AuditLogTab.vue b/frontend/src/components/admin/AuditLogTab.vue
index feb5035..6e110c8 100644
--- a/frontend/src/components/admin/AuditLogTab.vue
+++ b/frontend/src/components/admin/AuditLogTab.vue
@@ -84,6 +84,9 @@
+
+
{{ fetchError }}
+
No audit log entries match the selected filters.
@@ -196,6 +199,7 @@ const total = ref(0)
const page = ref(1)
const perPage = 50
const loading = ref(false)
+const fetchError = ref(null)
const exportingCsv = ref(false)
const exportError = ref(null)
@@ -220,6 +224,7 @@ onMounted(() => {
async function fetchLog() {
loading.value = true
+ fetchError.value = null
try {
const data = await api.adminListAuditLog({
start: filters.start || undefined,
@@ -233,6 +238,7 @@ async function fetchLog() {
total.value = data.total ?? entries.value.length
} catch (e) {
entries.value = []
+ fetchError.value = 'Failed to load audit log. Please try again.'
} finally {
loading.value = false
}