Skip to content

Commit

Permalink
throughput rounding (#83)
Browse files Browse the repository at this point in the history
Co-authored-by: Ludek Novy <[email protected]>
  • Loading branch information
ludeknovy and nvldk authored Nov 18, 2020
1 parent 3b1fe0d commit 43b1ed0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/app/item-detail/item-detail.component.html
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ <h2 class="card-title text-amethyst">{{itemData.overview.maxVu}}</h2>
<div class="col-sm">
<div class="card">
<div class="card-body overview-body">
<h2 class="card-title text-belize">{{itemData.overview.throughput}} <span
<h2 class="card-title text-belize">{{itemData.overview.throughput > 1000 ? Math.round(itemData.overview.throughput) : itemData.overview.throughput}} <span
class="unit-desc">hits/s</span>
</h2>
</div>
Expand Down

0 comments on commit 43b1ed0

Please sign in to comment.