chore better error message when deleting an environment
This commit is contained in:
@@ -33,6 +33,6 @@ class DeleteEnvironment extends Component
|
||||
return redirect()->route('project.show', ['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