Skip to content

Commit

Permalink
fix: impro duration with hour
Browse files Browse the repository at this point in the history
  • Loading branch information
CorentinTh committed May 20, 2022
1 parent bce9d43 commit 4c56e17
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions src/modules/shared/components/ImproList.vue
Original file line number Diff line number Diff line change
Expand Up @@ -89,9 +89,7 @@ function exportToBoards() {
<div class="list-wrapper">
<n-space class="actions" align="center" justify="space-between">
<div v-show="impros.length > 0">
{{ impros.length }} impros pour une durée de {{ formatTime(impros.reduce((acc, { duration }) => acc + duration,
0))
}}
{{ impros.length }} impros pour une durée de {{ formatTime(impros.reduce((acc, { duration }) => acc + duration, 0), { showHours: true }) }}
</div>

<n-space>
Expand Down

0 comments on commit 4c56e17

Please sign in to comment.