[GH-993] Fix csv export header (#1417)

* Fix csv header row
This commit is contained in:
Kolos Niedermayer 2021-10-04 22:53:10 +02:00 committed by GitHub
parent e931a6e56e
commit 1af58f6e61
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -53,7 +53,7 @@ class CsvExporter {
{
// Header row
const row: string[] = ['Title']
const row: string[] = [intl.formatMessage({id: 'TableComponent.name', defaultMessage: 'Name'})]
visibleProperties.forEach((template: IPropertyTemplate) => {
row.push(template.name)
})