mirror of
https://github.com/Icinga/icingaweb2-module-director.git
synced 2025-07-31 01:34:12 +02:00
CommandForm: Make imports optional on commands
Specifying an import should be optional for Commands. You have to specify the execution method, e.g. "Plugin Check Command", anyway so that the correct base template will be imported by icinga director automatically. fixes #12979
This commit is contained in:
parent
55e0ebd02d
commit
48c4ee7c23
@ -49,7 +49,7 @@ class IcingaCommandForm extends DirectorObjectForm
|
||||
'description' => $this->translate('Identifier for the Icinga command you are going to create')
|
||||
));
|
||||
|
||||
$this->addImportsElement();
|
||||
$this->addImportsElement(false);
|
||||
|
||||
$this->addElement('text', 'command', array(
|
||||
'label' => $this->translate('Command'),
|
||||
|
Loading…
x
Reference in New Issue
Block a user