mirror of
https://github.com/Icinga/icingaweb2-module-director.git
synced 2025-07-31 01:34:12 +02:00
ServiceController: offer assign only for apply
This commit is contained in:
parent
39f789aa7b
commit
0e11d60928
@ -11,7 +11,7 @@ class ServiceController extends ObjectController
|
||||
public function init()
|
||||
{
|
||||
parent::init();
|
||||
if ($this->object) {
|
||||
if ($this->object && $this->object->object_type === 'apply') {
|
||||
$this->getTabs()->add('assign', array(
|
||||
'url' => 'director/service/assign',
|
||||
'urlParams' => array('name' => $this->object->object_name),
|
||||
|
Loading…
x
Reference in New Issue
Block a user