From cfc17ad176a8af8b057a6957a3e3ed84c129c098 Mon Sep 17 00:00:00 2001 From: Bruno Windels Date: Thu, 18 Feb 2021 15:38:56 +0100 Subject: [PATCH] stringify values in log viewer, other number 0 does not get rendered --- scripts/logviewer/main.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/logviewer/main.js b/scripts/logviewer/main.js index e621b5d8..11880bf1 100644 --- a/scripts/logviewer/main.js +++ b/scripts/logviewer/main.js @@ -68,7 +68,7 @@ function showItemDetails(item, parent, itemNode) { t.ul({class: "values"}, Object.entries(itemValues(item)).map(([key, value]) => { return t.li([ t.span({className: "key"}, normalizeValueKey(key)), - t.span({className: "value"}, value) + t.span({className: "value"}, value+"") ]); })), t.p(expandButton)