Explorar el Código

add checklist to cardType-linkedBoard

Ben0it-T hace 3 años
padre
commit
fc7c70bdc0
Se han modificado 1 ficheros con 2 adiciones y 1 borrados
  1. 2 1
      client/components/cards/checklists.js

+ 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({