浏览代码

Remove cover id

nztqa 7 年之前
父节点
当前提交
860ae6f38d
共有 1 个文件被更改,包括 1 次插入0 次删除
  1. 1 0
      client/components/cards/cardDetails.js

+ 1 - 0
client/components/cards/cardDetails.js

@@ -220,6 +220,7 @@ Template.copyCardPopup.events({
 
 
     if (title) {
     if (title) {
       card.title = title;
       card.title = title;
+      card.coverId = '';
       const _id = Cards.insert(card);
       const _id = Cards.insert(card);
       // In case the filter is active we need to add the newly inserted card in
       // In case the filter is active we need to add the newly inserted card in
       // the list of exceptions -- cards that are not filtered. Otherwise the
       // the list of exceptions -- cards that are not filtered. Otherwise the