{!! $tasks->isNotEmpty() ? $tasks[0]->title." (".$tasks[0]->checklists->count().")" : __('title.To-Do') !!}


@if($tasks->isNotEmpty()) @include('task::task.checklists', [ 'checklists' => $tasks[0]->checklists, 'task' => $tasks[0], 'prefix' => 'modal-' ]) @endif