From f997fc6b8392c2a4061fd59d6c536a1f19b98358 Mon Sep 17 00:00:00 2001 From: Darren Yu Date: Sat, 15 Nov 2025 15:56:51 +0800 Subject: [PATCH] fix(dashboard): fix rendering error when multiple node have same name (same to #3037) --- src/component/Admin/Node/NodeSetting.tsx | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/component/Admin/Node/NodeSetting.tsx b/src/component/Admin/Node/NodeSetting.tsx index 358d3d3..4094d2d 100644 --- a/src/component/Admin/Node/NodeSetting.tsx +++ b/src/component/Admin/Node/NodeSetting.tsx @@ -105,11 +105,11 @@ const NodeSetting = () => { {t("node.addNewNode")} - {!loading && nodes.map((n) => )} - {loading && nodes.length > 0 && nodes.map((n) => )} + {!loading && nodes.map((n) => )} + {loading && nodes.length > 0 && nodes.map((n) => )} {loading && nodes.length === 0 && - Array.from(Array(5)).map((_, index) => )} + Array.from(Array(5)).map((_, index) => )} {count > 0 && (