correctly hides categories tabpanel when feature flag is false

This commit is contained in:
Lachlan Kermode
2020-02-10 09:29:24 +13:00
parent 77bedb36b9
commit 2a9fc5f0dc

View File

@@ -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'>