fix: export doesn't handle lists with no cards

Signed-off-by: Michał Walczak <mw@michalwalczak.eu>
This commit is contained in:
Michał Walczak
2023-09-08 15:24:07 +02:00
committed by backportbot-nextcloud[bot]
parent 55296059a9
commit c5b11b344e

View File

@@ -163,7 +163,7 @@ export class BoardApi {
let CSV = row + '\r\n'
response.data.stacks.forEach(stack => {
stack.cards.forEach(card => {
stack?.cards?.forEach(card => {
row = ''
Object.keys(fields).forEach(field => {
if (field === 'createdAt' || field === 'lastModified') {