mirror of
https://github.com/vector-im/hydrogen-web.git
synced 2024-12-23 11:35:04 +01:00
stringify values in log viewer, other number 0 does not get rendered
This commit is contained in:
parent
bd85dc2393
commit
cfc17ad176
@ -68,7 +68,7 @@ function showItemDetails(item, parent, itemNode) {
|
|||||||
t.ul({class: "values"}, Object.entries(itemValues(item)).map(([key, value]) => {
|
t.ul({class: "values"}, Object.entries(itemValues(item)).map(([key, value]) => {
|
||||||
return t.li([
|
return t.li([
|
||||||
t.span({className: "key"}, normalizeValueKey(key)),
|
t.span({className: "key"}, normalizeValueKey(key)),
|
||||||
t.span({className: "value"}, value)
|
t.span({className: "value"}, value+"")
|
||||||
]);
|
]);
|
||||||
})),
|
})),
|
||||||
t.p(expandButton)
|
t.p(expandButton)
|
||||||
|
Loading…
Reference in New Issue
Block a user