Merge "ui: Fix nesting of slice argument table"
diff --git a/ui/src/frontend/chrome_slice_panel.ts b/ui/src/frontend/chrome_slice_panel.ts
index c1bc604..a0a7f35 100644
--- a/ui/src/frontend/chrome_slice_panel.ts
+++ b/ui/src/frontend/chrome_slice_panel.ts
@@ -48,8 +48,8 @@
toNs(sliceInfo.dur) === -1 ?
'-1 (Did not end)' :
timeToCode(sliceInfo.dur)}`)),
- this.getDescription(sliceInfo.description)),
- this.getArgs(sliceInfo.args),
+ this.getDescription(sliceInfo.description),
+ this.getArgs(sliceInfo.args)),
));
} else {
return m(
@@ -66,7 +66,7 @@
getArgs(args?: Map<string, string>): m.Vnode[] {
if (!args || args.size === 0) return [];
- const result = [m('tr', m('th', 'Args'))];
+ const result = [];
for (const [key, value] of args) {
result.push(m('tr', m('th', key), m('td', value)));
}