Refonte de l'UI #37

Manually merged
wpetit merged 7 commits from issue-35 into develop 2020-06-17 11:36:22 +02:00
Showing only changes of commit fe0e2667a0 - Show all commits

View File

@ -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>