mirror of
https://github.com/bellingcat/ukraine-timemap.git
synced 2026-06-12 21:38:35 +03:00
make USE_CATEGORIES optional
This commit is contained in:
@@ -145,12 +145,12 @@ class Card extends React.Component {
|
||||
}
|
||||
|
||||
renderCaret () {
|
||||
return (
|
||||
return this.props.features.USE_SOURCES ? (
|
||||
<CardCaret
|
||||
toggle={() => this.toggle()}
|
||||
isOpen={this.state.isOpen}
|
||||
/>
|
||||
)
|
||||
) : null
|
||||
}
|
||||
|
||||
render () {
|
||||
|
||||
Reference in New Issue
Block a user