From 1c5d9ca2234195ca9fe2d4ffde94710828010525 Mon Sep 17 00:00:00 2001 From: shamoon <4887959+shamoon@users.noreply.github.com> Date: Sat, 3 Aug 2024 17:02:38 -0700 Subject: [PATCH] Change: handle errored truenas pools (#3815) --- src/widgets/truenas/widget.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/widgets/truenas/widget.js b/src/widgets/truenas/widget.js index 5f8a38df3..8e50956b0 100644 --- a/src/widgets/truenas/widget.js +++ b/src/widgets/truenas/widget.js @@ -25,7 +25,7 @@ const widget = { healthy: entry.healthy, allocated: entry.allocated, free: entry.free, - data: entry.topology.data, + data: entry.topology?.data ?? [], })), }, },