Skip to content

Commit

Permalink
feat(ui): change metrics column order to put 'tasg' last
Browse files Browse the repository at this point in the history
Fixes #1221
  • Loading branch information
loicmathieu committed May 5, 2023
1 parent bd968c3 commit 6e11a20
Showing 1 changed file with 12 additions and 11 deletions.
23 changes: 12 additions & 11 deletions ui/src/components/executions/MetricsTable.vue
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,18 @@
</template>
</el-table-column>

<el-table-column prop="value" sortable :label="$t('value')">
<template #default="scope">
<span v-if="scope.row.type === 'timer'">
{{ $filters.humanizeDuration(scope.row.value / 1000) }}
</span>
<span v-else>
{{ $filters.humanizeNumber(scope.row.value) }}
</span>
</template>
</el-table-column>


<el-table-column prop="tags" :label="$t('tags')">
<template #default="scope">
<el-tag
Expand All @@ -50,17 +62,6 @@
</el-tag>
</template>
</el-table-column>

<el-table-column prop="value" sortable :label="$t('value')">
<template #default="scope">
<span v-if="scope.row.type === 'timer'">
{{ $filters.humanizeDuration(scope.row.value / 1000) }}
</span>
<span v-else>
{{ $filters.humanizeNumber(scope.row.value) }}
</span>
</template>
</el-table-column>
</el-table>
</template>
</data-table>
Expand Down

0 comments on commit 6e11a20

Please sign in to comment.