diff --git a/src/components/Dashboard.jsx b/src/components/Dashboard.jsx
index 0e770de..4e5168a 100644
--- a/src/components/Dashboard.jsx
+++ b/src/components/Dashboard.jsx
@@ -92,6 +92,7 @@ class Dashboard extends React.Component {
render () {
const { actions, app, domain, ui } = this.props
+ console.log(app)
return (
state,
- state => injectSource("Hromadske.tv - Paratroopers Video"),
+ state => state,
+ // state => injectSource("Hromadske.tv - Paratroopers Video"),
mapDispatchToProps
)(Dashboard)
diff --git a/src/components/SourceOverlay.jsx b/src/components/SourceOverlay.jsx
index aab94bf..c5214c9 100644
--- a/src/components/SourceOverlay.jsx
+++ b/src/components/SourceOverlay.jsx
@@ -141,7 +141,7 @@ class SourceOverlay extends React.Component {
) : null
-
+ console.log(this.props)
console.log(this.state.idx)
console.log(this.props.source.paths.length)
const forwardArrow = this.state.idx < this.props.source.paths.length - 1 ? (
diff --git a/src/components/Toolbar.jsx b/src/components/Toolbar.jsx
index c072634..519c6f0 100644
--- a/src/components/Toolbar.jsx
+++ b/src/components/Toolbar.jsx
@@ -161,7 +161,7 @@ class Toolbar extends React.Component {
{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}
state.app.narrative
export const getActiveStep = state => state.app.narrativeState.current
export const getSelected = state => state.app.selected
export const getSites = (state) => {
- if (process.env.features.USE_SITES) return state.domain.sites
+ if (process.env.features.USE_SITES) return state.domain.sites.filter(s => !!(+s.enabled))
return []
}
export const getSources = state => {