Commit 4597a1b4 authored by Hermann's avatar Hermann Committed by Sandro Lutz
Browse files

fix crash when additional_fields is null

parent 026cb937
......@@ -81,7 +81,8 @@ class ParticipantsTable {
searchKeys: ['email'],
includeWithoutRelation: true,
});
this.add_fields_schema = JSON.parse(additionalFieldsSchema).properties;
this.add_fields_schema = additionalFieldsSchema ?
JSON.parse(additionalFieldsSchema).properties : null;
}
itemRow(data) {
......
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