️ This Gitlab will be shut down at 2021-12-31 23:59:59.
Students and staff can migrate to gitlab.utwente.nl.
SNT members can migrate to gitlab.snt.utwente.nl.
Contact bestuur@snt.utwente.nl for more information.

Migrate your projects today!
Export your project using the webinterface or use a script.

Commit bbf411e6 authored by TJHeeringa's avatar TJHeeringa

Fixed bug

parent 1ff4f0bf
......@@ -53,7 +53,10 @@ const MemberTable = ({ initial_headers, row_filter, ...rest_props }) => {
"phase": ["PhD", "Master", "Premaster", "Bachelor", "Other"],
"type": member_types.map(member_type=>member_type.type),
"new_type": member_types.map(member_type=>member_type.type),
...Object.fromEntries(data_fields.map(field=>[field.name, field.choices.split(",")]))
...Object.fromEntries(data_fields
.filter(field=>field.type === "Choice")
.map(field=>[field.name, field.choices.split(",")]
))
}), [member_types, data_fields]);
const currencyColumns = ["membership_fee"];
const dateColumns = ["date_of_birth", "date_joined", "date_left"];
......
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