mirror of
https://github.com/bellingcat/ukraine-timemap.git
synced 2026-06-12 13:28:36 +03:00
WIP: filters as narratives always
This commit is contained in:
@@ -174,10 +174,11 @@ class Map extends React.Component {
|
||||
}
|
||||
|
||||
renderNarratives () {
|
||||
const hasNarratives = this.props.domain.narratives.length > 0
|
||||
return (
|
||||
<Narratives
|
||||
svg={this.svgRef.current}
|
||||
narratives={this.props.domain.narratives}
|
||||
narratives={hasNarratives ? this.props.domain.narratives : [this.props.app.narrative]}
|
||||
projectPoint={this.projectPoint}
|
||||
narrative={this.props.app.narrative}
|
||||
styles={this.props.ui.narratives}
|
||||
|
||||
Reference in New Issue
Block a user