Skip to content

Commit

Permalink
fix(results): fix show graph for columns without unit
Browse files Browse the repository at this point in the history
There were assumption, than columns without unit are textual and don't
have graphs. This is wrong - perf simple query results don't have units
but have graphs.

Fix is about using proper assumption: if column type is not TEXT then
there is graph.
  • Loading branch information
soyacz committed Jan 27, 2025
1 parent 11fa838 commit b3dddf5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion frontend/TestRun/Components/ResultTable.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -187,7 +187,7 @@
</button>
</th>
{#each result.columns as col}
{#if col.unit}
{#if col.type !== 'TEXT'}
<th class="clickable" on:click={() => openGraphModal(col.name)} title="Show metric history">
<div class="column-header">
{col.name}<span
Expand Down

0 comments on commit b3dddf5

Please sign in to comment.