diff --git a/apps/frontend/src/routes/admin/DashboardPage.tsx b/apps/frontend/src/routes/admin/DashboardPage.tsx index 783e2f9..0dca0de 100644 --- a/apps/frontend/src/routes/admin/DashboardPage.tsx +++ b/apps/frontend/src/routes/admin/DashboardPage.tsx @@ -3,6 +3,7 @@ import { useServices } from "../../hooks/useServices.js"; import { useDevices } from "../../hooks/useDevices.js"; import { useCategories } from "../../hooks/useCategories.js"; import { useBookmarks } from "../../hooks/useBookmarks.js"; +import { useReadLater } from "../../hooks/useReadLater.js"; import { AdminPageHeader } from "./AdminPageHeader.js"; function StatCard({ label, value }: { label: string; value: number | string }) { @@ -19,6 +20,7 @@ export function DashboardPage() { const { data: devices } = useDevices(); const { data: categories } = useCategories(); const { data: bookmarks } = useBookmarks(); + const { data: readLaterItems } = useReadLater(); const onlineDevices = devices?.filter((d) => d.online).length ?? 0; const favoriteServices = services?.filter((s) => s.favorite).length ?? 0; @@ -46,11 +48,13 @@ export function DashboardPage() { } /> -
- {categories?.length ?? 0} Kategorie(n) angelegt. -
-+ {remaining.length} Dienst(e) über alle gescannten Geräte hinweg nicht mehr gefunden (Port + nicht mehr offen): +
+{bulkStatus}
) : null} + {bulkStaleServices.length > 0 ? ( +| MAC |
|---|