Skip to content

Commit

Permalink
fix bug in remaining hours label
Browse files Browse the repository at this point in the history
  • Loading branch information
alinnert committed Dec 6, 2023
1 parent 02b1fb5 commit 3fcebe3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/App.vue
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ const timesStore = useTimesStore()
{{ formatDuration(timesStore.workTimeOfSelectedDay, { format: ['hours', 'minutes'] }) }}
</div>
<div>
<template v-if="timesStore.workTimeOfSelectedDay.hours ?? 0 < 8">
<template v-if="(timesStore.workTimeOfSelectedDay.hours ?? 0) < 8">
8 Stunden erreicht in:
</template>
<template v-else>Überstunden:</template>
Expand Down

0 comments on commit 3fcebe3

Please sign in to comment.