fix frontend
This commit is contained in:
@@ -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);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user