Fix the always-threaded bug
This commit is contained in:
		
							parent
							
								
									6a5b778bb8
								
							
						
					
					
						commit
						568c9272ff
					
				
					 1 changed files with 1 additions and 1 deletions
				
			
		| 
						 | 
					@ -298,7 +298,7 @@ export default function compose(state = initialState, action) {
 | 
				
			||||||
  case COMPOSE_UPLOAD_CHANGE_REQUEST:
 | 
					  case COMPOSE_UPLOAD_CHANGE_REQUEST:
 | 
				
			||||||
    return state.set('is_submitting', true);
 | 
					    return state.set('is_submitting', true);
 | 
				
			||||||
  case COMPOSE_SUBMIT_SUCCESS:
 | 
					  case COMPOSE_SUBMIT_SUCCESS:
 | 
				
			||||||
    return action.status && state.get('advanced_options', 'threaded_mode') ? continueThread(state, action.status) : clearAll(state);
 | 
					    return action.status && state.getIn(['advanced_options', 'threaded_mode']) ? continueThread(state, action.status) : clearAll(state);
 | 
				
			||||||
  case COMPOSE_SUBMIT_FAIL:
 | 
					  case COMPOSE_SUBMIT_FAIL:
 | 
				
			||||||
  case COMPOSE_UPLOAD_CHANGE_FAIL:
 | 
					  case COMPOSE_UPLOAD_CHANGE_FAIL:
 | 
				
			||||||
    return state.set('is_submitting', false);
 | 
					    return state.set('is_submitting', false);
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
		Reference in a new issue