Added resume option to tasks
This commit is contained in:
parent
fa27ed9657
commit
43556928ec
1 changed files with 1 additions and 1 deletions
|
|
@ -60,7 +60,7 @@ class TaskRepository
|
|||
$task->description = trim($data['description']);
|
||||
}
|
||||
|
||||
$timeLog = $task->time_log ? json_decode($task->time_log) : [];
|
||||
$timeLog = $task->time_log ? json_decode($task->time_log, true) : [];
|
||||
|
||||
if ($data['action'] == 'start') {
|
||||
$task->start_time = Carbon::now()->toDateTimeString();
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue