diff options
author | Lauri Ojansivu <x@xet7.org> | 2020-05-25 22:59:52 +0300 |
---|---|---|
committer | Lauri Ojansivu <x@xet7.org> | 2020-05-25 22:59:52 +0300 |
commit | 8eafa1ac66fdcf5fb5f0a95aa6cfee454ddad67f (patch) | |
tree | b4877be48002f13049a41616f981fa8bba171797 | |
parent | 858bb35612097e7a01d832b89a1795dc121641d5 (diff) | |
download | wekan-8eafa1ac66fdcf5fb5f0a95aa6cfee454ddad67f.tar.gz wekan-8eafa1ac66fdcf5fb5f0a95aa6cfee454ddad67f.tar.bz2 wekan-8eafa1ac66fdcf5fb5f0a95aa6cfee454ddad67f.zip |
Fix Card export CSV, check for vote undefined.
Thanks to xet7 !
-rw-r--r-- | models/exporter.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/models/exporter.js b/models/exporter.js index cbcfa6cb..39e8aeca 100644 --- a/models/exporter.js +++ b/models/exporter.js @@ -322,7 +322,7 @@ export class Exporter { currentRow.push( card.dateLastActivity ? moment(card.dateLastActivity).format() : ' ', ); - if (card.vote.question) { + if (card.vote.question !== undefined) { let positiveVoters = ''; let negativeVoters = ''; card.vote.positive.forEach(userId => { |