fix not acknowledged problem color with a message (#858)

* fix not acknowledged problem color with a message

* fix not acknowledged problem color with a message, closes #857
This commit is contained in:
memfiz
2020-01-13 09:58:01 +02:00
committed by Alexander Zobnin
parent fe0c5cf1fd
commit 4f24b2bf23
2 changed files with 2 additions and 2 deletions

View File

@@ -183,7 +183,7 @@ function SeverityCell(props: RTCell<ZBXTrigger>, problemSeverityDesc: TriggerSev
color = severityDesc.color;
// Mark acknowledged triggers with different color
if (markAckEvents && problem.acknowledges && problem.acknowledges.length) {
if (markAckEvents && problem.lastEvent.acknowledged === "1") {
color = ackEventColor;
}