Skip to content

Commit

Permalink
Improved: added handling to show 0 in case of no closed count (#622)
Browse files Browse the repository at this point in the history
  • Loading branch information
amansinghbais committed Jan 16, 2025
1 parent 3e30356 commit 8dc403b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/views/Closed.vue
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
<ion-item lines="full">
<ion-icon slot="start" :icon="listOutline"/>
<ion-label>{{ translate("Counts closed") }}</ion-label>
<ion-label slot="end">{{ closedCycleCountsTotal ? closedCycleCountsTotal : "-" }}</ion-label>
<ion-label slot="end">{{ (closedCycleCountsTotal || closedCycleCountsTotal === 0) ? closedCycleCountsTotal : "-" }}</ion-label>
</ion-item>
<ion-item lines="full">
<ion-icon slot="start" :icon="thermometerOutline"/>
Expand Down

0 comments on commit 8dc403b

Please sign in to comment.