Skip to content

Commit

Permalink
statements: Format numbers
Browse files Browse the repository at this point in the history
  • Loading branch information
bersace committed Oct 14, 2024
1 parent c2bc3a6 commit be64484
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion ui/temboardui/static/src/views/Statements.vue
Original file line number Diff line number Diff line change
Expand Up @@ -496,7 +496,8 @@ function onFromToUpdate(from_, to_) {
</BCard>
</template>
<template v-slot:cell()="data">
<span v-html="data.value"></span>
<span v-if="typeof data.value === 'number'">{{ data.value.toFixed(data.value % 1 ? 3 : 0) }}</span>
<span v-else v-html="data.value"></span>
</template>
<template v-slot:empty="scope">
<div class="text-center">
Expand Down

0 comments on commit be64484

Please sign in to comment.