diff --git a/src/Resources/queries/widget.js b/src/Resources/queries/widget.js index ad1f1469..61b43a05 100644 --- a/src/Resources/queries/widget.js +++ b/src/Resources/queries/widget.js @@ -334,7 +334,7 @@ const $li = $('
  • ').addClass(csscls('table-list-item')); const $muted = $('').addClass(css('text-muted')); - for (const i in values) { + for (const i in values.values()) { if (showLineNumbers) { $ul.append($li.clone().append([$muted.clone().text(`${i}:`), ' ', $('').text(values[i])])); } else { @@ -353,7 +353,7 @@ const $muted = $('').addClass(css('text-muted')); const values = []; - for (const trace of traces) { + for (const trace of traces.values()) { const $span = $('').text(trace.name || trace.file); if (trace.namespace) { $span.prepend(`${trace.namespace}::`);