allow stepStyles with feature flag

This commit is contained in:
Lachlan Kermode
2019-01-04 16:39:15 +00:00
parent bca43fab2b
commit 314c0540c1
3 changed files with 51 additions and 46 deletions

View File

@@ -29,7 +29,7 @@ class Toolbar extends React.Component {
}
renderSearch() {
if (this.props.features.USE_SEARCH) {
if (process.env.features.USE_SEARCH) {
return (
<TabPanel>
<Search
@@ -70,7 +70,7 @@ class Toolbar extends React.Component {
}
renderToolbarTagPanel() {
if (this.props.features.USE_TAGS &&
if (process.env.features.USE_TAGS &&
this.props.tags.children) {
return (
<TabPanel>