mirror of
https://github.com/grocy/grocy.git
synced 2025-08-15 02:04:38 +00:00
Added a chore start date option (closes #1612)
This commit is contained in:
@@ -5,6 +5,11 @@ Grocy.Components.ChoreCard.Refresh = function(choreId)
|
||||
Grocy.Api.Get('chores/' + choreId,
|
||||
function(choreDetails)
|
||||
{
|
||||
if (choreDetails.last_done_by == null)
|
||||
{
|
||||
choreDetails.last_done_by = {};
|
||||
}
|
||||
|
||||
$('#chorecard-chore-name').text(choreDetails.chore.name);
|
||||
$('#chorecard-chore-description').html(nl2br(choreDetails.chore.description));
|
||||
$('#chorecard-chore-last-tracked').text((choreDetails.last_tracked || __t('never')));
|
||||
|
Reference in New Issue
Block a user