From 3eb08d8d15898b490d7fc8181f3654c498af0e86 Mon Sep 17 00:00:00 2001 From: Gang Li Date: Tue, 6 Feb 2024 15:05:57 +0800 Subject: [PATCH] iFix issues for display of no nfc items found of empty arrays --- src/main/webui/src/app/components/content/addons/NFC.jsx | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/main/webui/src/app/components/content/addons/NFC.jsx b/src/main/webui/src/app/components/content/addons/NFC.jsx index 40a6d6c..185326c 100644 --- a/src/main/webui/src/app/components/content/addons/NFC.jsx +++ b/src/main/webui/src/app/components/content/addons/NFC.jsx @@ -299,8 +299,7 @@ export default function NFC() { {error && error.trim() !== "" &&
{error}
} {(message && message.trim() !== "" || error && error.trim() !== "") &&
} { - sections? - sections.length > 0 && + sections && sections.length > 0 ?