Correction affichage issue ajouter depuis l'UI

This commit is contained in:
Benjamin Gaudé 2020-06-16 10:54:11 +02:00
parent 0e93e7c52f
commit fe0e2667a0
1 changed files with 5 additions and 3 deletions

View File

@ -60,6 +60,8 @@ export class BoardPage extends React.Component<BoardPageProps> {
renderBoard() {
const { kanboard, board } = this.props;
console.log(kanboard);
if (!kanboard) {
return <Loader></Loader>
}
@ -86,13 +88,13 @@ export class BoardPage extends React.Component<BoardPageProps> {
<div className="container is-fluid">
<div className="kanboard-container is-fullheight">
<Board
initialBoard={kanboard}
renderCard={this.renderCard.bind(this)}
renderColumnHeader={this.renderLaneHeader.bind(this)}
onCardDragEnd={this.onCardDragEnd.bind(this)}
disableColumnDrag={true}
/>
>
{kanboard}
</Board>
{ this.renderNewCardModal() }
</div>
</div>