Translate CW, poll options and media descriptions (#24175)
Co-authored-by: Claire <claire.github-309c@sitedethib.com>
This commit is contained in:
		
				
					committed by
					
						
						GitHub
					
				
			
			
				
	
			
			
			
						parent
						
							44cd88adc4
						
					
				
				
					commit
					69057467cb
				
			@@ -180,7 +180,7 @@ const mapDispatchToProps = (dispatch, { intl, contextType }) => ({
 | 
			
		||||
 | 
			
		||||
  onTranslate (status) {
 | 
			
		||||
    if (status.get('translation')) {
 | 
			
		||||
      dispatch(undoStatusTranslation(status.get('id')));
 | 
			
		||||
      dispatch(undoStatusTranslation(status.get('id'), status.get('poll')));
 | 
			
		||||
    } else {
 | 
			
		||||
      dispatch(translateStatus(status.get('id')));
 | 
			
		||||
    }
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user