mirror of
https://github.com/Icinga/icingaweb2-module-director.git
synced 2025-09-25 18:59:05 +02:00
Add hasBasketSupport for TimePeriods (#2543)
This adds the missing "hasBasketSupport" for TimePeriodController which allows to add the TimePeriod to specific baskets.
This commit is contained in:
commit
5daa3a85ed
@ -30,4 +30,9 @@ class TimeperiodController extends ObjectController
|
|||||||
$this->content()->add($form->handleRequest());
|
$this->content()->add($form->handleRequest());
|
||||||
IcingaTimePeriodRangeTable::load($object)->renderTo($this);
|
IcingaTimePeriodRangeTable::load($object)->renderTo($this);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
protected function hasBasketSupport()
|
||||||
|
{
|
||||||
|
return true;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user