mirror of
https://github.com/vector-im/hydrogen-web.git
synced 2024-12-23 11:35:04 +01:00
show forced finished
this means the item was forcefully finished when the app closed down, and the underlying operation was still running
This commit is contained in:
parent
ba4fa1ee3e
commit
851c469727
@ -72,6 +72,7 @@ function showItemDetails(item, parent, itemNode) {
|
|||||||
t.p([t.strong("Start: "), new Date(itemStart(item)).toString()]),
|
t.p([t.strong("Start: "), new Date(itemStart(item)).toString()]),
|
||||||
t.p([t.strong("Duration: "), `${itemDuration(item)}ms`]),
|
t.p([t.strong("Duration: "), `${itemDuration(item)}ms`]),
|
||||||
t.p([t.strong("Child count: "), itemChildren(item) ? `${itemChildren(item).length}` : "none"]),
|
t.p([t.strong("Child count: "), itemChildren(item) ? `${itemChildren(item).length}` : "none"]),
|
||||||
|
t.p([t.strong("Forced finish: "), (itemForcedFinish(item) || false) + ""]),
|
||||||
t.p(t.strong("Values:")),
|
t.p(t.strong("Values:")),
|
||||||
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([
|
||||||
@ -150,6 +151,7 @@ function itemLevel(item) { return item.l; }
|
|||||||
function itemLabel(item) { return item.v?.l; }
|
function itemLabel(item) { return item.v?.l; }
|
||||||
function itemType(item) { return item.v?.t; }
|
function itemType(item) { return item.v?.t; }
|
||||||
function itemError(item) { return item.e; }
|
function itemError(item) { return item.e; }
|
||||||
|
function itemForcedFinish(item) { return item.f; }
|
||||||
function itemShortErrorMessage(item) {
|
function itemShortErrorMessage(item) {
|
||||||
if (itemError(item)) {
|
if (itemError(item)) {
|
||||||
const e = itemError(item);
|
const e = itemError(item);
|
||||||
|
Loading…
Reference in New Issue
Block a user