Forráskód Böngészése

Fix Create Board from Template not opening.

Thanks to Ben0it-T and xet7 !

Related #4263
Lauri Ojansivu 3 éve
szülő
commit
95ed3a0ab5
1 módosított fájl, 2 hozzáadás és 1 törlés
  1. 2 1
      client/components/lists/listBody.js

+ 2 - 1
client/components/lists/listBody.js

@@ -575,7 +575,8 @@ BlazeComponent.extendComponent({
       this.isBoardTemplateSearch;
       this.isBoardTemplateSearch;
     let board = {};
     let board = {};
     if (this.isTemplateSearch) {
     if (this.isTemplateSearch) {
-      board = Boards.findOne((Meteor.user().profile || {}).templatesBoardId);
+      //board = Boards.findOne((Meteor.user().profile || {}).templatesBoardId);
+      board._id = (Meteor.user().profile || {}).templatesBoardId;
     } else {
     } else {
       // Prefetch first non-current board id
       // Prefetch first non-current board id
       board = Boards.find({
       board = Boards.find({