mirror of
https://github.com/MrUnknownDE/panel.git
synced 2026-04-19 23:03:45 +02:00
Prevent deletion of options that have children attached to them.
closes #562
This commit is contained in:
@@ -24,6 +24,7 @@ return [
|
||||
'delete_has_servers' => 'A service option with active servers attached to it cannot be deleted from the Panel.',
|
||||
'invalid_copy_id' => 'The service option selected for copying a script from either does not exist, or is copying a script itself.',
|
||||
'must_be_child' => 'The "Copy Settings From" directive for this option must be a child option for the selected service.',
|
||||
'has_children' => 'This service option is a parent to one or more other options. Please delete those options before deleting this option.',
|
||||
],
|
||||
'variables' => [
|
||||
'env_not_unique' => 'The environment variable :name must be unique to this service option.',
|
||||
|
||||
Reference in New Issue
Block a user