Skip to content

armgit / Pulse

Public Imported from GitHub
0

Real-time monitoring dashboard for Proxmox VE, PBS, Docker, Kubernetes, TrueNAS and vSphere. Self-hosted, with alerts for failed backups, full disks, unhealthy containers and offline nodes.

hooks(resources): project ceph meta onto Resource.ceph

rcourtmanff8b7e79f325
diff --git a/frontend-modern/src/hooks/useUnifiedResources.ts b/frontend-modern/src/hooks/useUnifiedResources.ts
index 74f78e24d8..8da8141d39 100644
--- a/frontend-modern/src/hooks/useUnifiedResources.ts
+++ b/frontend-modern/src/hooks/useUnifiedResources.ts
@@ -9,6 +9,7 @@ import { getGlobalWebSocketStore } from '@/stores/websocket-global';
import type {
Resource,
ResourceAgentUnraidMeta,
+ ResourceCephMeta,
ResourceChange,
ResourceFacetCounts,
ResourceDiscoveryTarget,
@@ -678,6 +679,7 @@ const toResource = (v2: APIResource): Resource => {
availability: v2.availability as ResourceAvailabilityMeta | undefined,
physicalDisk: v2.physicalDisk,
storage: v2.storage as ResourceStorageMeta | undefined,
+ ceph: v2.ceph as ResourceCephMeta | undefined,
proxmox: v2.proxmox
? {
vmid: v2.proxmox.vmid,