From f620b8a8a7b8fe789f4d24cfb4921c85eb16316e Mon Sep 17 00:00:00 2001 From: Sergio Rius Date: Mon, 1 Mar 2021 18:04:58 +0100 Subject: [PATCH] Fix undefined error when clicking on "Instance Details" https://github.com/TotallyInformation/node-red-contrib-uibuilder/issues/121 --- nodes/uiblib.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/nodes/uiblib.js b/nodes/uiblib.js index b76b7e9b..2687dc70 100644 --- a/nodes/uiblib.js +++ b/nodes/uiblib.js @@ -1141,7 +1141,7 @@ module.exports = { nodeKeys.sort().forEach( item => { let info = node[item] - if ( info!== null && info.constructor.name === 'Object' ) info = JSON.stringify(info) + if ( info != null && info.constructor.name === 'Object' ) info = JSON.stringify(info) page += ` ${item}