mirror of
https://github.com/wekan/wekan.git
synced 2026-03-11 08:02:33 +01:00
Fix Card export CSV, check for vote undefined.
Thanks to xet7 !
This commit is contained in:
parent
858bb35612
commit
8eafa1ac66
1 changed files with 1 additions and 1 deletions
|
|
@ -322,7 +322,7 @@ export class Exporter {
|
||||||
currentRow.push(
|
currentRow.push(
|
||||||
card.dateLastActivity ? moment(card.dateLastActivity).format() : ' ',
|
card.dateLastActivity ? moment(card.dateLastActivity).format() : ' ',
|
||||||
);
|
);
|
||||||
if (card.vote.question) {
|
if (card.vote.question !== undefined) {
|
||||||
let positiveVoters = '';
|
let positiveVoters = '';
|
||||||
let negativeVoters = '';
|
let negativeVoters = '';
|
||||||
card.vote.positive.forEach(userId => {
|
card.vote.positive.forEach(userId => {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue