Skip to content

Commit

Permalink
fix(frontend): show remaining vacation days of supervisees
Browse files Browse the repository at this point in the history
  • Loading branch information
c0rydoras committed Aug 12, 2024
1 parent 872732c commit 71a98aa
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions frontend/app/users/edit/responsibilities/template.hbs
Original file line number Diff line number Diff line change
Expand Up @@ -85,9 +85,9 @@

{{!
absenceBalances has to be an array but will always only
contain one element. This is why we use firstObject here.
contain one element. This is why we get the first object here.
}}
<td>{{get supervisee.absenceBalances "0.balance"}}</td>
<td>{{get (object-at 0 supervisee.absenceBalances) "balance"}}</td>
</tr>
{{/each}}
</tbody>
Expand Down

0 comments on commit 71a98aa

Please sign in to comment.