mirror of
https://github.com/bellingcat/ukraine-timemap.git
synced 2026-06-08 03:18:36 +03:00
Added against field
This commit is contained in:
@@ -80,11 +80,19 @@ class CardStack extends React.Component {
|
||||
{
|
||||
kind: "button",
|
||||
title: "Type of Violation",
|
||||
value: event.associations.map(association => ({
|
||||
value: event.associations.slice(0, -1).map(association => ({
|
||||
text: association,
|
||||
color: getFilterIdxFromColorSet(association, this.props.coloringSet) >= 0 ? this.props.colors[getFilterIdxFromColorSet(association, this.props.coloringSet)] : null,
|
||||
})),
|
||||
},
|
||||
{
|
||||
kind: "button",
|
||||
title: "Against",
|
||||
value: event.associations.slice(-1).map(category => ({
|
||||
text: category,
|
||||
color: null,
|
||||
})),
|
||||
},
|
||||
],
|
||||
[
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user