️ 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 49b7ed7b authored by TJHeeringa's avatar TJHeeringa

Fixed refresh bug

parent c255d5b5
......@@ -30,7 +30,6 @@ const AssociationMemberDrawer = (props) => {
// an empty sidebar.
const url_segments = url.split("/");
const slug = url_segments[url_segments.length-2];
console.log(API.sunmember || API.sunmember.association_memberships);
const currentMembership = API.sunmember && API.sunmember.association_memberships.find(membership=>membership.association.slug===slug).current;
if (!currentMembership) {
return null;
......
......@@ -387,6 +387,7 @@ const Matchings = ({ association }) => {
headers={headers}
rows={rows}
showGrouping={false}
showExporter={true}
selection={{selection: selection, setSelection:setSelection}}
defaultHiddenColumnNames={defaultHiddenColumnNames}
booleanColumns={booleanColumns}
......
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