summaryrefslogtreecommitdiffstats
path: root/client/components/cards
diff options
context:
space:
mode:
authorLauri Ojansivu <x@xet7.org>2017-10-01 09:40:27 +0300
committerLauri Ojansivu <x@xet7.org>2017-10-01 09:40:27 +0300
commit6ec14ee52bca394189a0f1d41d20b597e90f6320 (patch)
tree24591cde4476e841db31cd25c008e81bb7bc6ad1 /client/components/cards
parente6a866cb9ef8253c6d59ce7b1deafb5edb1f5180 (diff)
parent4b995e88ba2abbc35e78562d5874b00854ef6be0 (diff)
downloadwekan-6ec14ee52bca394189a0f1d41d20b597e90f6320.tar.gz
wekan-6ec14ee52bca394189a0f1d41d20b597e90f6320.tar.bz2
wekan-6ec14ee52bca394189a0f1d41d20b597e90f6320.zip
Merge branch 'nztqa-fix-copy-card' into devel
Fix Data inconsistency when copying card. Thanks to nztqa ! Related #1218
Diffstat (limited to 'client/components/cards')
-rw-r--r--client/components/cards/cardDetails.js1
1 files changed, 1 insertions, 0 deletions
diff --git a/client/components/cards/cardDetails.js b/client/components/cards/cardDetails.js
index 7c6c3ce7..587cd1bc 100644
--- a/client/components/cards/cardDetails.js
+++ b/client/components/cards/cardDetails.js
@@ -220,6 +220,7 @@ Template.copyCardPopup.events({
if (title) {
card.title = title;
+ card.coverId = '';
const _id = Cards.insert(card);
// 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