Refonte de l'UI #37
@ -60,6 +60,8 @@ export class BoardPage extends React.Component<BoardPageProps> {
|
|||||||
renderBoard() {
|
renderBoard() {
|
||||||
const { kanboard, board } = this.props;
|
const { kanboard, board } = this.props;
|
||||||
|
|
||||||
|
console.log(kanboard);
|
||||||
|
|
||||||
if (!kanboard) {
|
if (!kanboard) {
|
||||||
return <Loader></Loader>
|
return <Loader></Loader>
|
||||||
}
|
}
|
||||||
@ -86,13 +88,13 @@ export class BoardPage extends React.Component<BoardPageProps> {
|
|||||||
<div className="container is-fluid">
|
<div className="container is-fluid">
|
||||||
<div className="kanboard-container is-fullheight">
|
<div className="kanboard-container is-fullheight">
|
||||||
<Board
|
<Board
|
||||||
initialBoard={kanboard}
|
|
||||||
|
|
||||||
renderCard={this.renderCard.bind(this)}
|
renderCard={this.renderCard.bind(this)}
|
||||||
renderColumnHeader={this.renderLaneHeader.bind(this)}
|
renderColumnHeader={this.renderLaneHeader.bind(this)}
|
||||||
onCardDragEnd={this.onCardDragEnd.bind(this)}
|
onCardDragEnd={this.onCardDragEnd.bind(this)}
|
||||||
disableColumnDrag={true}
|
disableColumnDrag={true}
|
||||||
/>
|
>
|
||||||
|
{kanboard}
|
||||||
|
</Board>
|
||||||
{ this.renderNewCardModal() }
|
{ this.renderNewCardModal() }
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
Loading…
Reference in New Issue
Block a user