mirror of
https://github.com/bellingcat/ukraine-timemap.git
synced 2026-06-11 21:08:36 +03:00
correctly hides categories tabpanel when feature flag is false
This commit is contained in:
@@ -154,7 +154,7 @@ class Toolbar extends React.Component {
|
||||
const tagsLabel = copy[this.props.language].toolbar.tags_label
|
||||
const categoriesLabel = 'Categories' // TODO:
|
||||
const isTags = this.props.tags && this.props.tags.children
|
||||
const isCategories = true
|
||||
const isCategories = process.env.features.CATEGORIES_AS_TAGS
|
||||
|
||||
return (
|
||||
<div className='toolbar'>
|
||||
|
||||
Reference in New Issue
Block a user