mirror of
https://github.com/mattermost/focalboard.git
synced 2025-01-23 18:34:02 +02:00
Merge remote-tracking branch 'upstream/main' into compliance-history-export
This commit is contained in:
commit
95d099e47e
@ -78,8 +78,14 @@ class CsvExporter {
|
||||
const row: string[] = []
|
||||
row.push(`"${this.encodeText(card.title)}"`)
|
||||
visibleProperties.forEach((template: IPropertyTemplate) => {
|
||||
const propertyValue = card.fields.properties[template.id]
|
||||
let propertyValue = card.fields.properties[template.id]
|
||||
const property = propsRegistry.get(template.type)
|
||||
if (property.type === 'createdBy') {
|
||||
propertyValue = card.createdBy
|
||||
}
|
||||
if (property.type === 'updatedBy') {
|
||||
propertyValue = card.modifiedBy
|
||||
}
|
||||
row.push(property.exportValue(propertyValue, card, template, intl))
|
||||
})
|
||||
rows.push(row)
|
||||
|
Loading…
x
Reference in New Issue
Block a user