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 @@ -198,7 +198,7 @@ class Lane extends Component {
198198 getChildPayload = { index => this . props . getCardDetails ( id , index ) } >
199199 { cardList }
200200 </ Container >
201- { editable && ! addCardMode && < components . AddCardLink onClick = { this . showEditableCard } t = { t } /> }
201+ { editable && ! addCardMode && < components . AddCardLink onClick = { this . showEditableCard } t = { t } laneId = { id } /> }
202202 { addCardMode && (
203203 < components . NewCardForm onCancel = { this . hideEditableCard } t = { t } laneId = { id } onAdd = { this . addNewCard } />
204204 ) }
@@ -217,7 +217,7 @@ class Lane extends Component {
217217 this . props . onLaneUpdate ( this . props . id , { title : value } )
218218 }
219219
220- renderHeader = ( pickedProps ) => {
220+ renderHeader = pickedProps => {
221221 const { components} = this . props
222222 return (
223223 < components . LaneHeader
You can’t perform that action at this time.
0 commit comments