2
0
Эх сурвалжийг харах

Merge pull request #4318 from Ben0it-T/fix-cant-add-checklist-to-cardType-linkedBoard

fix can't add Checklist on cardType-linkedBoard
Lauri Ojansivu 3 жил өмнө
parent
commit
8b2c9cc74f

+ 2 - 1
client/components/cards/checklists.js

@@ -92,7 +92,8 @@ BlazeComponent.extendComponent({
     const title = textarea.value.trim();
     let cardId = this.currentData().cardId;
     const card = Cards.findOne(cardId);
-    if (card.isLinked()) cardId = card.linkedId;
+    //if (card.isLinked()) cardId = card.linkedId;
+    if (card.isLinkedCard()) cardId = card.linkedId;
 
     if (title) {
       Checklists.insert({