Skip to content

Commit

Permalink
fix(ui): display 0 instead of NaN
Browse files Browse the repository at this point in the history
  • Loading branch information
Guillaume Chau committed Apr 12, 2018
1 parent 60b86eb commit 21d3e94
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
/>

<div class="progress">
{{ Math.round(progress * 100) }}
{{ typeof progress === 'number' ? Math.round(progress * 100) : 0 }}
</div>

<div class="operations">
Expand Down

0 comments on commit 21d3e94

Please sign in to comment.