@@ -96,6 +96,7 @@ class BoardContainer extends Component {
9696 addNewLane = params => {
9797 this . hideEditableLane ( )
9898 this . props . actions . addLane ( params )
99+ this . props . onLaneAdd ( params )
99100 }
100101
101102 renderNewLane = ( ) => {
@@ -117,7 +118,7 @@ class BoardContainer extends Component {
117118 }
118119
119120 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
121122 const { addLaneMode} = this . state
122123 // Stick to whitelisting attributes to segregate board and lane props
123124 const passthroughProps = pick ( this . props , [
@@ -203,6 +204,7 @@ BoardContainer.propTypes = {
203204 onCardDelete : PropTypes . func ,
204205 onCardAdd : PropTypes . func ,
205206 addCardLink : PropTypes . node ,
207+ onLaneAdd : PropTypes . func ,
206208 onLaneClick : PropTypes . func ,
207209 laneSortFunction : PropTypes . func ,
208210 draggable : PropTypes . bool ,
@@ -233,6 +235,7 @@ BoardContainer.defaultProps = {
233235 handleDragEnd : ( ) => { } ,
234236 handleLaneDragStart : ( ) => { } ,
235237 handleLaneDragEnd : ( ) => { } ,
238+ onLaneAdd : ( ) => { } ,
236239 editable : false ,
237240 canAddLanes : false ,
238241 hideCardDeleteIcon : false ,
0 commit comments