mirror of
https://github.com/Icinga/icingaweb2-module-director.git
synced 2025-07-24 22:34:25 +02:00
ObjectController: allow fields for any command
This commit is contained in:
parent
2d40ffa1e0
commit
12d6381e44
@ -31,7 +31,7 @@ abstract class ObjectController extends ActionController
|
||||
|
||||
if ($object->hasBeenLoadedFromDb()
|
||||
&& $object->supportsFields()
|
||||
&& $object->isTemplate()
|
||||
&& ($object->isTemplate() || $type === 'command')
|
||||
) {
|
||||
$tabs->add('fields', array(
|
||||
'url' => sprintf('director/%s/fields', $type),
|
||||
|
Loading…
x
Reference in New Issue
Block a user