@@ -96,6 +96,7 @@ class BoardContainer extends Component {
96
96
addNewLane = params => {
97
97
this . hideEditableLane ( )
98
98
this . props . actions . addLane ( params )
99
+ this . props . onLaneAdd ( params )
99
100
}
100
101
101
102
renderNewLane = ( ) => {
@@ -117,7 +118,7 @@ class BoardContainer extends Component {
117
118
}
118
119
119
120
render ( ) {
120
- const { id, reducerData, draggable, laneDraggable, laneDragClass, style, onDataChange, onLaneScroll, onCardClick, onLaneClick, onCardDelete, onCardAdd, addLaneTitle, editable, canAddLanes, ...otherProps } = this . props
121
+ const { id, reducerData, draggable, laneDraggable, laneDragClass, style, onDataChange, onLaneScroll, onCardClick, onLaneClick, onLaneAdd , onCardDelete, onCardAdd, addLaneTitle, editable, canAddLanes, ...otherProps } = this . props
121
122
const { addLaneMode} = this . state
122
123
// Stick to whitelisting attributes to segregate board and lane props
123
124
const passthroughProps = pick ( this . props , [
@@ -203,6 +204,7 @@ BoardContainer.propTypes = {
203
204
onCardDelete : PropTypes . func ,
204
205
onCardAdd : PropTypes . func ,
205
206
addCardLink : PropTypes . node ,
207
+ onLaneAdd : PropTypes . func ,
206
208
onLaneClick : PropTypes . func ,
207
209
laneSortFunction : PropTypes . func ,
208
210
draggable : PropTypes . bool ,
@@ -233,6 +235,7 @@ BoardContainer.defaultProps = {
233
235
handleDragEnd : ( ) => { } ,
234
236
handleLaneDragStart : ( ) => { } ,
235
237
handleLaneDragEnd : ( ) => { } ,
238
+ onLaneAdd : ( ) => { } ,
236
239
editable : false ,
237
240
canAddLanes : false ,
238
241
hideCardDeleteIcon : false ,
0 commit comments