mirror of
https://github.com/wekan/wekan.git
synced 2025-04-22 04:57:07 -04:00
Fix Create Board from Template not opening.
Thanks to Ben0it-T and xet7 ! Related #4263
This commit is contained in:
parent
dbe0b4922f
commit
95ed3a0ab5
1 changed files with 2 additions and 1 deletions
|
@ -575,7 +575,8 @@ BlazeComponent.extendComponent({
|
|||
this.isBoardTemplateSearch;
|
||||
let board = {};
|
||||
if (this.isTemplateSearch) {
|
||||
board = Boards.findOne((Meteor.user().profile || {}).templatesBoardId);
|
||||
//board = Boards.findOne((Meteor.user().profile || {}).templatesBoardId);
|
||||
board._id = (Meteor.user().profile || {}).templatesBoardId;
|
||||
} else {
|
||||
// Prefetch first non-current board id
|
||||
board = Boards.find({
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue