From 1600ab3446f533a6824512d616131c7d02a037c7 Mon Sep 17 00:00:00 2001 From: Jules Laplace Date: Tue, 20 Oct 2020 19:25:35 +0200 Subject: add footnote type and text plate type. keep track of footnotes when accumulating paragraphs. --- animism-align/frontend/app/views/viewer/viewer.reducer.js | 2 ++ 1 file changed, 2 insertions(+) (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 d8ffd34..29868aa 100644 --- a/animism-align/frontend/app/views/viewer/viewer.reducer.js +++ b/animism-align/frontend/app/views/viewer/viewer.reducer.js @@ -18,6 +18,7 @@ const initialState = { /* section look and navigation */ sections: { loading: true }, + footnoteList: [], currentSection: null, nextSection: null, autoAdvance: false, @@ -82,6 +83,7 @@ export default function viewerReducer(state = initialState, action) { return { ...state, sections: action.sections, + footnoteList: action.footnoteList, } case types.viewer.set_current_section: -- cgit v1.2.3-70-g09d2