Skip to content

Commit

Permalink
ui: use human format on task row memory metric
Browse files Browse the repository at this point in the history
  • Loading branch information
lgfa29 committed Feb 2, 2022
1 parent ca37aaf commit f419646
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ui/app/templates/components/task-row.hbs
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@
{{x-icon "alert-triangle" class="is-warning"}}
</span>
{{else}}
<div class="inline-chart tooltip" role="tooltip" aria-label="{{format-scheduled-bytes this.memory.used}} / {{format-scheduled-bytes this.taskStats.reservedMemory start='MiB'}}">
<div class="inline-chart tooltip" role="tooltip" aria-label="{{format-bytes this.memory.used}} / {{format-bytes this.taskStats.reservedMemory start='MiB'}}">
<progress
class="progress is-danger is-small"
value="{{this.memory.percent}}"
Expand Down

0 comments on commit f419646

Please sign in to comment.