From e22713033de6610790278f05abcea48555c76915 Mon Sep 17 00:00:00 2001 From: Moe Date: Tue, 28 Mar 2023 08:42:58 -0700 Subject: [PATCH] update convertJsonToAccordionHtml --- web/assets/js/bs5.dashboard-base.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/web/assets/js/bs5.dashboard-base.js b/web/assets/js/bs5.dashboard-base.js index 7ba5d49a..5e489d56 100644 --- a/web/assets/js/bs5.dashboard-base.js +++ b/web/assets/js/bs5.dashboard-base.js @@ -986,7 +986,7 @@ function convertJsonToAccordionHtml(theJson){ keys.forEach((key) => { var value = innerJson[key] var isObject = typeof value === 'object' || typeof value === 'array' - if(value)html += `
  • ${key} ${isObject ? recurseJson(value,true) : `: ${value}`}
  • ` + if(value === 0 || value === false || value)html += `
  • ${key} ${isObject ? recurseJson(value,true) : `: ${value}`}
  • ` }) html += `` return html