File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed
Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change 11import React from 'react'
22import { AddCardLink } from 'rt/styles/Base'
33
4- export default ( { onClick, t} ) => < AddCardLink onClick = { onClick } > { t ( 'Click to add card' ) } </ AddCardLink >
4+ export default ( { onClick, t, laneId } ) => < AddCardLink onClick = { onClick } > { t ( 'Click to add card' ) } </ AddCardLink >
Original file line number Diff line number Diff line change @@ -206,7 +206,7 @@ class Lane extends Component {
206206 getChildPayload = { index => this . props . getCardDetails ( id , index ) } >
207207 { cardList }
208208 </ Container >
209- { editable && ! addCardMode && < components . AddCardLink onClick = { this . showEditableCard } t = { t } /> }
209+ { editable && ! addCardMode && < components . AddCardLink onClick = { this . showEditableCard } t = { t } laneId = { id } /> }
210210 { addCardMode && (
211211 < components . NewCardForm onCancel = { this . hideEditableCard } t = { t } laneId = { id } onAdd = { this . addNewCard } />
212212 ) }
@@ -225,7 +225,7 @@ class Lane extends Component {
225225 this . props . onLaneUpdate ( this . props . id , { title : value } )
226226 }
227227
228- renderHeader = ( pickedProps ) => {
228+ renderHeader = pickedProps => {
229229 const { components} = this . props
230230 return (
231231 < components . LaneHeader
You can’t perform that action at this time.
0 commit comments