Pārlūkot izejas kodu

isCommentOnly false fix for Trello import. Thanks to rhelsing !

Lauri Ojansivu 8 gadi atpakaļ
vecāks
revīzija
dc8c59dcbe
1 mainītis faili ar 2 papildinājumiem un 0 dzēšanām
  1. 2 0
      models/import.js

+ 2 - 0
models/import.js

@@ -145,6 +145,7 @@ class TrelloCreator {
         userId: Meteor.userId(),
         userId: Meteor.userId(),
         isAdmin: true,
         isAdmin: true,
         isActive: true,
         isActive: true,
+        isCommentOnly: false,
       }],
       }],
       permission: this.getPermission(trelloBoard.prefs.permissionLevel),
       permission: this.getPermission(trelloBoard.prefs.permissionLevel),
       slug: getSlug(trelloBoard.name) || 'board',
       slug: getSlug(trelloBoard.name) || 'board',
@@ -170,6 +171,7 @@ class TrelloCreator {
               userId: wekanId,
               userId: wekanId,
               isAdmin: this.getAdmin(trelloMembership.memberType),
               isAdmin: this.getAdmin(trelloMembership.memberType),
               isActive: true,
               isActive: true,
+              isCommentOnly: false,
             });
             });
           }
           }
         }
         }