From 95ed3a0ab56a52a04c13856cf9d1d845659ea1b7 Mon Sep 17 00:00:00 2001 From: Lauri Ojansivu Date: Sun, 26 Dec 2021 17:43:56 +0200 Subject: [PATCH] Fix Create Board from Template not opening. Thanks to Ben0it-T and xet7 ! Related #4263 --- client/components/lists/listBody.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/client/components/lists/listBody.js b/client/components/lists/listBody.js index 282eeb8f3..9b54f901e 100644 --- a/client/components/lists/listBody.js +++ b/client/components/lists/listBody.js @@ -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({