Commit ec3470e1 authored by Phil Hughes's avatar Phil Hughes Committed by Douglas Barbosa Alexandre

Fixed error when displaying board form

parent b4b0d621
......@@ -51,7 +51,7 @@
},
submitDisabled() {
if (this.currentPage !== 'milestone') {
return board.name === '';
return this.board.name === '';
}
return false;
......
......@@ -57,7 +57,7 @@ require('./board_new_form');
return this.boards.length > 1;
},
title() {
if (this.currentPage === 'edit') {
if (this.currentPage === 'edit' || this.currentPage === 'milestone') {
return 'Edit board';
} else if (this.currentPage === 'new') {
return 'Create new board';
......
......@@ -28,7 +28,8 @@
= dropdown_loading
%span
Only show issues scheduled for the selected milestone
%board-milestone-select{ ":milestone-path" => "milestonePath",
%board-milestone-select{ "v-if" => "currentPage == 'milestone'",
":milestone-path" => "milestonePath",
":select-milestone" => "selectMilestone",
":board" => "board" }
.clearfix.prepend-top-10
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment