From 71a98aadbfd60e08e46b031747134fa8054408f8 Mon Sep 17 00:00:00 2001 From: Arthur Deierlein Date: Mon, 12 Aug 2024 10:15:52 +0200 Subject: [PATCH] fix(frontend): show remaining vacation days of supervisees --- frontend/app/users/edit/responsibilities/template.hbs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/frontend/app/users/edit/responsibilities/template.hbs b/frontend/app/users/edit/responsibilities/template.hbs index 46b30145d..7530444ee 100644 --- a/frontend/app/users/edit/responsibilities/template.hbs +++ b/frontend/app/users/edit/responsibilities/template.hbs @@ -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. }} - {{get supervisee.absenceBalances "0.balance"}} + {{get (object-at 0 supervisee.absenceBalances) "balance"}} {{/each}}