problems panel: highlight correlation tag

This commit is contained in:
Alexander Zobnin
2018-12-04 22:56:45 +03:00
parent 286feef3cd
commit 1ffafac026
3 changed files with 12 additions and 5 deletions

View File

@@ -322,7 +322,9 @@ class ProblemDetails extends PureComponent<any, any> {
</div>
}
<div className="problem-tags">
{problem.tags && problem.tags.map(tag => <EventTag key={tag.tag + tag.value} tag={tag} />)}
{problem.tags && problem.tags.map(tag =>
<EventTag key={tag.tag + tag.value} tag={tag} highlight={tag.tag === problem.correlation_tag} />)
}
</div>
{problem.acknowledges && !wideLayout &&
<div className="problem-ack-container">