mirror of
https://github.com/tiennm99/coolify.git
synced 2026-10-14 14:17:18 +00:00
fix
This commit is contained in:
1 parent
b68aabb2c9
commit
c9c56c915c
4 files changed
+22
-2
No files matched your search
@@ -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