From 1fe4f4977127a3f58146e9fa39611e745d4a8eb0 Mon Sep 17 00:00:00 2001 From: Kevin Stone Date: Sun, 20 Apr 2025 17:39:25 -0700 Subject: [PATCH] Fix: Longhorn still showing Total despite `total: false` (#5200) --- src/components/widgets/longhorn/longhorn.jsx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/components/widgets/longhorn/longhorn.jsx b/src/components/widgets/longhorn/longhorn.jsx index 235c77d05..db68cd7b8 100644 --- a/src/components/widgets/longhorn/longhorn.jsx +++ b/src/components/widgets/longhorn/longhorn.jsx @@ -32,8 +32,8 @@ export default function Longhorn({ options }) {
{data.nodes .filter((node) => { - if (node.id === "total" && total) { - return true; + if (node.id === "total") { + return total; } if (!nodes) { return false;