To receive notifications about scheduled maintenance, please subscribe to the mailing-list You can subscribe to the mailing-list at

Verified Commit dbe6567f authored by Sandro Lutz's avatar Sandro Lutz
Browse files

Fix CSV export when there are no additional fields

parent ec842a8f
......@@ -99,14 +99,14 @@ class ParticipantsTable {,
...Object.keys(this.add_fields_schema).map(key =>
...Object.keys(this.add_fields_schema || {}).map(key =>
(additionalFields && additionalFields[key] ? additionalFields[key] : '')),
const header = [
'Position', 'Date', 'Firstname', 'Lastname', 'Membership', 'Email', 'Accepted', 'Confirmed',
...Object.keys(this.add_fields_schema).map(key => this.add_fields_schema[key].title),
...Object.keys(this.add_fields_schema || {}).map(key => this.add_fields_schema[key].title),
const filename = `${filePrefix}_participants_export.csv`;
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment