File tree 3 files changed +8
-2
lines changed
lib/reducers/editor-actions
src/reducers/editor-actions
3 files changed +8
-2
lines changed Original file line number Diff line number Diff line change @@ -16,6 +16,9 @@ function editorActionsReducer(editorActions, action) {
16
16
var actions = null ;
17
17
switch ( action . type ) {
18
18
case _types_1 . TESTS_LOAD :
19
+ if ( store_1 . default . getState ( ) . progress . pages [ store_1 . default . getState ( ) . pagePosition ] ) {
20
+ return [ ] ;
21
+ }
19
22
taskTracker = 0 ;
20
23
actions = store_1 . default . getState ( ) . tasks . map ( function ( task ) { return task . actions || [ ] ; } ) ;
21
24
handleEditorActions ( actions ) ;
Original file line number Diff line number Diff line change @@ -22,6 +22,10 @@ export default function editorActionsReducer(
22
22
switch ( action . type ) {
23
23
24
24
case TESTS_LOAD :
25
+
26
+ if ( store . getState ( ) . progress . pages [ store . getState ( ) . pagePosition ] ) {
27
+ return [ ] ;
28
+ }
25
29
taskTracker = 0 ;
26
30
actions = store . getState ( ) . tasks . map ( task => task . actions || [ ] ) ;
27
31
handleEditorActions ( actions ) ; // run first action
Original file line number Diff line number Diff line change 121
121
" src/components/AppMenu/CloseWindow.tsx" ,
122
122
" src/components/AppMenu/index.tsx" ,
123
123
" src/components/AppMenu/issuesLink.tsx" ,
124
- " src/components/AppMenu/MenuIconRight .tsx" ,
124
+ " src/components/AppMenu/menuIconRight .tsx" ,
125
125
" src/components/AppMenu/MenuLink/index.tsx" ,
126
126
" src/components/AppMenu/menuRight.tsx" ,
127
127
" src/components/AppMenu/menuRightRouteOptions.tsx" ,
128
128
" src/components/AppMenu/Quit/index.tsx" ,
129
129
" src/components/Common/RouteButton.tsx" ,
130
130
" src/components/FinalPage/index.tsx" ,
131
- " src/components/Hold/index.tsx" ,
132
131
" src/components/Markdown/index.tsx" ,
133
132
" src/components/Page/EditPage/index.tsx" ,
134
133
" src/components/Page/Hints/HintButton.tsx" ,
You can’t perform that action at this time.
0 commit comments