Skip to content

Commit

Permalink
Merge pull request #3761 from parca-dev/arrow-string-fix
Browse files Browse the repository at this point in the history
ui: Arrow string fix
  • Loading branch information
brancz authored Sep 5, 2023
2 parents 171a5d1 + 6e9dbe6 commit 61e3b8f
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -45,10 +45,10 @@ export function nodeLabel(
return labelColumnNames
.map((field, i) => [
labelColumnNames[i].name.slice(pprofLabelPrefix.length),
table.getChild(field.name)?.get(row) ?? '',
arrowToString(table.getChild(field.name)?.get(row)) ?? '',
])
.filter(value => value[1] !== '')
.map(([k, v]) => `${k as string}="${v as string}"`)
.map(([k, v]) => `${k}="${v}"`)
.join(', ');
}

Expand Down

0 comments on commit 61e3b8f

Please sign in to comment.