️ 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 080cca4f authored by TJHeeringa's avatar TJHeeringa

Minor fix

parent 8dc456d9
......@@ -21,12 +21,12 @@ const MembershipInfo = ({ association, membership }) => {
if (!loading) {
if (membership.new_type !== null) {
data = {...data,
"Current Membertype:": membertypes.find(membertype=>membertype.url === membership.type).type || "",
"Upcoming Membertype:": membertypes.find(membertype=>membertype.url === membership.new_type).type || ""
"Current Membertype:": membertypes?.find(membertype=>membertype.url === membership.type).type || "",
"Upcoming Membertype:": membertypes?.find(membertype=>membertype.url === membership.new_type).type || ""
};
} else {
data = {...data,
"Membertype:": membertypes.find(membertype=>membertype.url === membership.type).type || "",
"Membertype:": membertypes?.find(membertype=>membertype.url === membership.type).type || "",
};
}
}
......
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