+
No containers reported.
diff --git a/neode-ui/src/views/fleet/useFleetData.ts b/neode-ui/src/views/fleet/useFleetData.ts
index b6e82222..e47cde16 100644
--- a/neode-ui/src/views/fleet/useFleetData.ts
+++ b/neode-ui/src/views/fleet/useFleetData.ts
@@ -107,7 +107,7 @@ export function formatTimestamp(ts: string): string {
}
export function getContainerState(node: FleetNode, appId: string): string | null {
- const container = node.containers.find(c => c.id === appId)
+ const container = (node.containers || []).find(c => c.id === appId)
if (!container) return null
return container.state
}
@@ -190,7 +190,7 @@ export function useFleetData() {
const allAppIds = computed(() => {
const appSet = new Set()
for (const node of nodes.value) {
- for (const c of node.containers) {
+ for (const c of (node.containers || [])) {
appSet.add(c.id)
}
}