fix duplicated keys in alert list

This commit is contained in:
Alexander Zobnin
2020-05-19 10:18:44 +03:00
parent cd3afb65c2
commit 1a6849b597

View File

@@ -69,7 +69,7 @@ export default class AlertList extends PureComponent<AlertListProps, AlertListSt
<ol className={alertListClass}>
{currentProblems.map(problem =>
<AlertCard
key={`${problem.triggerid}-${problem.datasource}`}
key={`${problem.triggerid}-${problem.eventid}-${problem.datasource}`}
problem={problem}
panelOptions={panelOptions}
onTagClick={this.handleTagClick}