stringify values in log viewer, other number 0 does not get rendered

This commit is contained in:
Bruno Windels 2021-02-18 15:38:56 +01:00
parent bd85dc2393
commit cfc17ad176

View File

@ -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)