- Fix Delete Board and keep confirmation popup.

Thanks to xet7 !
This commit is contained in:
Lauri Ojansivu 2018-08-28 23:23:24 +03:00
parent c0df1dd4aa
commit 534b20feda

View file

@ -37,8 +37,7 @@ BlazeComponent.extendComponent({
const currentBoard = Boards.findOne(Session.get('currentBoard'));
Boards.remove(currentBoard._id);
}
const board = this.currentData();
Boards.remove(board._id);
Boards.remove(this._id);
FlowRouter.go('home');
}),
}];