Rename key to path in actions and reducers for settings (#6105)
This commit is contained in:
		
					parent
					
						
							
								ce854ed506
							
						
					
				
			
			
				commit
				
					
						3ba7cde38d
					
				
			
		
					 7 changed files with 15 additions and 15 deletions
				
			
		|  | @ -14,8 +14,8 @@ export default class ColumnSettings extends React.PureComponent { | |||
|     onClear: PropTypes.func.isRequired, | ||||
|   }; | ||||
| 
 | ||||
|   onPushChange = (key, checked) => { | ||||
|     this.props.onChange(['push', ...key], checked); | ||||
|   onPushChange = (path, checked) => { | ||||
|     this.props.onChange(['push', ...path], checked); | ||||
|   } | ||||
| 
 | ||||
|   render () { | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue