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.
This commit is contained in:
parent
62d7ca8e97
commit
ad827395af
|
@ -32,7 +32,7 @@ if ($this->hasPermission('monitoring/command/downtime/schedule')) {
|
|||
);
|
||||
}
|
||||
}
|
||||
if (empty($object->comments) && ! $addLink) {
|
||||
if (empty($object->downtimes) && ! $addLink) {
|
||||
return;
|
||||
}
|
||||
?>
|
||||
|
|
Loading…
Reference in New Issue