diff --git a/frontend/src/components/NavBar.vue b/frontend/src/components/NavBar.vue
index 5331060f..ba8df482 100644
--- a/frontend/src/components/NavBar.vue
+++ b/frontend/src/components/NavBar.vue
@@ -71,7 +71,7 @@
- {{ systemStore.upstreamStats.connected_servers }}/{{ systemStore.upstreamStats.total_servers }}
+ {{ serversStore.serverCount.connected }}/{{ serversStore.serverCount.total }}
servers
@@ -106,6 +106,7 @@
import { computed, ref } from 'vue'
import { useRoute } from 'vue-router'
import { useSystemStore } from '@/stores/system'
+import { useServersStore } from '@/stores/servers'
// Icons (we'll use SVG icons directly for simplicity)
const DashboardIcon = 'svg'
@@ -117,6 +118,7 @@ const SettingsIcon = 'svg'
const route = useRoute()
const systemStore = useSystemStore()
+const serversStore = useServersStore()
const menuItems = [
{ name: 'Dashboard', path: '/', icon: DashboardIcon },
diff --git a/frontend/src/components/TopHeader.vue b/frontend/src/components/TopHeader.vue
index ca4eab8b..3258a1d9 100644
--- a/frontend/src/components/TopHeader.vue
+++ b/frontend/src/components/TopHeader.vue
@@ -52,9 +52,9 @@
systemStore.isRunning ? 'bg-success animate-pulse' : 'bg-error'
]"
/>
- {{ systemStore.upstreamStats.connected_servers }}
+ {{ serversStore.serverCount.connected }}
/
- {{ systemStore.upstreamStats.total_servers }}
+ {{ serversStore.serverCount.total }}
Servers