Correction création de ticket sur la première colonne

Voir #26
This commit is contained in:
2020-04-30 17:08:48 +02:00
parent 79a12e89f7
commit 7309a2157b
4 changed files with 9 additions and 8 deletions

View File

@ -92,7 +92,9 @@ export class BoardPage extends React.Component<BoardPageProps> {
renderNewCardModal() {
const { newCardModalActive, newCardLaneID } = this.state;
const { board } = this.props;
if (!board || !newCardLaneID) return null;
if (!board || newCardLaneID === undefined) return null;
return (
<Modal active={newCardModalActive}>
<div className="new-card-modal">