Fixed missing chore name in success popup on /choresoverview (fixes #2945)

This commit is contained in:
Bernd Bestel 2026-08-16 19:19:30 +02:00
parent 7687b12cdd
commit f77d89af51
No known key found for this signature in database
GPG Key ID: 71BD34C0D4891300
2 changed files with 2 additions and 1 deletions

View File

@ -32,7 +32,7 @@
### Chores
- xxx
- Fixed that when tracking a chore via the context/more menu on the chores overview page, the chore name was missing in the confirmation popup
### Calendar

View File

@ -166,6 +166,7 @@
<div class="table-inline-menu dropdown-menu dropdown-menu-right">
<a class="dropdown-item track-chore-button permission-CHORE_TRACK_EXECUTION @if(!boolval($userSettings['chores_overview_swap_tracking_buttons'])) now @endif"
data-chore-id="{{ $curentChoreEntry->chore_id }}"
data-chore-name="{{ FindObjectInArrayByPropertyValue($chores, 'id', $curentChoreEntry->chore_id)->name }}"
type="button"
href="#">
@if(boolval($userSettings['chores_overview_swap_tracking_buttons']))