fix frontend

This commit is contained in:
2026-04-24 01:44:03 +03:00
parent ff46a37956
commit 1c7e05f6a3
10 changed files with 260 additions and 209 deletions

View File

@@ -178,7 +178,9 @@ import { ref, onMounted, onUnmounted } from 'vue';
import AppLayout from '../components/Layout/AppLayout.vue';
import { useI18n } from 'vue-i18n'
const { t } = useI18n()
import { useNotification } from '../composables/useNotification'
const { showNotification } = useNotification()
const stats = ref({ totalUsers: 0, activeSessions: 0, systemHealth: 100, uptime: '99.9%' });
const userGrowth = ref(12);
const sessionGrowth = ref(5);
@@ -222,6 +224,7 @@ async function loadDashboardData() {
}));
}
} catch (e) {
showNotification('dashboard.loadError', 'error');
console.error('Failed to load dashboard data', e);
}
}