mirror of
https://github.com/Icinga/icingaweb2.git
synced 2025-04-08 17:15:08 +02:00
Unveil hidden downtime in checkable detail view
Case: there are no comments, one downtime and you may not schedule additional ones. Before: downtime is not shown in checkable detail view. After: downtime is shown in checkable detail view. (cherry picked from commit ad827395af42f033982a814f982f7875b9915e6d)
This commit is contained in:
parent
7be2e554af
commit
893f7d4bf4
@ -32,7 +32,7 @@ if ($this->hasPermission('monitoring/command/downtime/schedule')) {
|
||||
);
|
||||
}
|
||||
}
|
||||
if (empty($object->comments) && ! $addLink) {
|
||||
if (empty($object->downtimes) && ! $addLink) {
|
||||
return;
|
||||
}
|
||||
?>
|
||||
|
Loading…
x
Reference in New Issue
Block a user