mirror of
https://github.com/ershisan99/coolify.git
synced 2025-12-17 04:59:30 +00:00
fix
This commit is contained in:
@@ -51,6 +51,10 @@ class Form extends Component
|
||||
}
|
||||
public function delete()
|
||||
{
|
||||
if (!$this->server->isEmpty()) {
|
||||
$this->emit('error', 'Server has defined resources. Please delete them first.');
|
||||
return;
|
||||
}
|
||||
$this->server->delete();
|
||||
redirect()->route('dashboard');
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user