mirror of
https://github.com/bellingcat/ukraine-timemap.git
synced 2026-06-12 21:38:35 +03:00
WIP: simplify narratives selection
This commit is contained in:
@@ -74,13 +74,15 @@ class MapNarratives extends React.Component {
|
||||
}
|
||||
|
||||
renderNarrative(n) {
|
||||
const steps = n.steps.slice(0, n.steps.length - 1);
|
||||
|
||||
return (
|
||||
<g id={`narrative-${n.id.replace(/ /g,"_")}`} className="narrative">
|
||||
{steps.map((s, idx) => this.renderNarrativeStep(n.steps, s, idx, n))}
|
||||
</g>
|
||||
)
|
||||
// TODO: representation for narrative lines
|
||||
// const steps = n.steps.slice(0, n.steps.length - 1);
|
||||
//
|
||||
// return (
|
||||
// <g id={`narrative-${n.id.replace(/ /g,"_")}`} className="narrative">
|
||||
// {steps.map((s, idx) => this.renderNarrativeStep(n.steps, s, idx, n))}
|
||||
// </g>
|
||||
// )
|
||||
return null
|
||||
}
|
||||
|
||||
render() {
|
||||
|
||||
Reference in New Issue
Block a user