Merge pull request #3949 from peaklabs-dev/fix-project-deletion
Fix: Projects can be deleted with resources
This commit is contained in:
@@ -37,6 +37,6 @@ class DeleteEnvironment extends Component
|
||||
return redirect()->route('project.show', parameters: ['project_uuid' => $this->parameters['project_uuid']]);
|
||||
}
|
||||
|
||||
return $this->dispatch('error', 'Environment has defined resources, please delete them first.');
|
||||
return $this->dispatch('error', "<strong>Environment {$environment->name}</strong> has defined resources, please delete them first.");
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user