WIP more delete confirmations

This commit is contained in:
ayntk-ai
2024-08-30 20:00:04 +02:00
parent da0398f35d
commit 9136d7acdc
4 changed files with 32 additions and 5 deletions

View File

@@ -13,9 +13,12 @@ class DeleteProject extends Component
public bool $disabled = false;
public string $projectName = '';
public function mount()
{
$this->parameters = get_route_parameters();
$this->projectName = Project::findOrFail($this->project_id)->name;
}
public function delete()