fix(tasks): auto-open create modal when accessing /projects/{project}/tasks/create

This commit is contained in:
Javier Braña
2026-08-04 09:53:57 +02:00
parent 1a61e219c6
commit 16efe381c5
2 changed files with 37 additions and 33 deletions
+2
View File
@@ -78,6 +78,8 @@ class TaskForm extends Component
} else {
$this->mode = 'create';
abort_unless(Auth::user()->can('create tasks', $project), 403);
// Auto-open modal when accessed via route (create page)
$this->showModal = true;
}
}