mirror of
https://github.com/wekan/wekan.git
synced 2025-04-22 21:17:18 -04:00
fix: typo
This commit is contained in:
parent
3ee0add6f6
commit
120cb4820e
1 changed files with 5 additions and 3 deletions
|
@ -588,8 +588,10 @@ export class ExporterExcel {
|
|||
}
|
||||
//get parent name
|
||||
if (jcard.parentId) {
|
||||
const parent = result.cards.find(card => card._id === jcard.parentId);
|
||||
jcard.parentName = parent ? parent.title : '';
|
||||
const parentCard = result.cards.find(
|
||||
card => card._id === jcard.parentId,
|
||||
);
|
||||
jcard.parentCardTitle = parentCard ? parentCard.title : '';
|
||||
}
|
||||
|
||||
//add card detail
|
||||
|
@ -598,7 +600,7 @@ export class ExporterExcel {
|
|||
t.toString(),
|
||||
jcard.title,
|
||||
jcard.description,
|
||||
jcard.parentName,
|
||||
jcard.parentCardTitle,
|
||||
jmeml[jcard.userId],
|
||||
addTZhours(jcard.createdAt),
|
||||
addTZhours(jcard.dateLastActivity),
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue