Add enabled sites marker from data object

This commit is contained in:
Franc Camps-Febrer
2019-01-31 12:42:52 -05:00
parent 3efdf48c52
commit c2cd703f06
6 changed files with 9 additions and 6 deletions

View File

@@ -161,7 +161,7 @@ class Toolbar extends React.Component {
<div className='toolbar-header'><p>{title}</p></div>
<div className='toolbar-tabs'>
{this.renderToolbarTab(0, narrativesLabel, 'timeline')}
{(isCategories) ? this.renderToolbarTab(1, categoriesLabel, 'category') : null}
{(isCategories) ? this.renderToolbarTab(1, categoriesLabel, 'widgets') : null}
{(isTags) ? this.renderToolbarTab(2, tagsLabel, 'filter_list') : null}
</div>
<ToolbarBottomActions