From 0f6179706deb9c0a235013bddebc33596eaf08e3 Mon Sep 17 00:00:00 2001 From: Jules Laplace Date: Thu, 23 Jul 2020 22:53:38 +0200 Subject: opening and closing the nav --- animism-align/frontend/app/views/viewer/viewer.reducer.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'animism-align/frontend/app/views/viewer/viewer.reducer.js') diff --git a/animism-align/frontend/app/views/viewer/viewer.reducer.js b/animism-align/frontend/app/views/viewer/viewer.reducer.js index 30c7a0a..949ec45 100644 --- a/animism-align/frontend/app/views/viewer/viewer.reducer.js +++ b/animism-align/frontend/app/views/viewer/viewer.reducer.js @@ -4,15 +4,15 @@ const initialState = { transcript: false, checklist: false, nav: false, + sectionsNav: false, sections: { loading: true }, options: { } } export default function viewerReducer(state = initialState, action) { - console.log(action.type, action) + // console.log(action.type, action) switch (action.type) { - case types.viewer.load_sections: return { ...state, -- cgit v1.2.3-70-g09d2