diff options
| author | Jules Laplace <julescarbon@gmail.com> | 2020-10-20 19:25:35 +0200 |
|---|---|---|
| committer | Jules Laplace <julescarbon@gmail.com> | 2020-10-20 19:25:35 +0200 |
| commit | 1600ab3446f533a6824512d616131c7d02a037c7 (patch) | |
| tree | b0a3a5cf08d58583e82f9170f72201398e99cdb9 /animism-align/frontend/app/views/viewer/viewer.reducer.js | |
| parent | 597356b755b2453d17bc7e13e6d7f7f3d966bf6b (diff) | |
add footnote type and text plate type. keep track of footnotes when accumulating paragraphs.
Diffstat (limited to 'animism-align/frontend/app/views/viewer/viewer.reducer.js')
| -rw-r--r-- | animism-align/frontend/app/views/viewer/viewer.reducer.js | 2 |
1 files changed, 2 insertions, 0 deletions
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: |
