chore better error message when deleting an environment
This commit is contained in:
parent
5a38b21d95
commit
e52139f436
1 changed files with 1 additions and 1 deletions
|
|
@ -33,6 +33,6 @@ public function delete()
|
|||
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.");
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue