️ 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 042df9a8 authored by TJHeeringa's avatar TJHeeringa

Fixed bug2

parent bbf411e6
......@@ -322,8 +322,14 @@ const Matchings = ({ association }) => {
"right_phase": ["PhD", "Master", "Premaster", "Bachelor", "Other"],
"right_type": member_types.map(member_type=>member_type.type),
"right_new_type": member_types.map(member_type=>member_type.type),
...Object.fromEntries(data_fields.map(field=>["left_"+field.name, field.choices.split(",")])),
...Object.fromEntries(data_fields.map(field=>["right_"+field.name, field.choices.split(",")]))
...Object.fromEntries(data_fields
.filter(field=>field.type === "Choice")
.map(field=>["left_"+field.name, field.choices.split(",")]
)),
...Object.fromEntries(data_fields
.filter(field=>field.type === "Choice")
.map(field=>["right_"+field.name, field.choices.split(",")]
))
}), [member_types, data_fields]);
const currencyColumns = useMemo(()=>{
const base_columns = ["membership_fee"];
......
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