mirror of
https://github.com/Icinga/icingaweb2-module-director.git
synced 2025-07-26 23:34:10 +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()
|
if ($object->hasBeenLoadedFromDb()
|
||||||
&& $object->supportsFields()
|
&& $object->supportsFields()
|
||||||
&& $object->isTemplate()
|
&& ($object->isTemplate() || $type === 'command')
|
||||||
) {
|
) {
|
||||||
$tabs->add('fields', array(
|
$tabs->add('fields', array(
|
||||||
'url' => sprintf('director/%s/fields', $type),
|
'url' => sprintf('director/%s/fields', $type),
|
||||||
|
Loading…
x
Reference in New Issue
Block a user