heatsynclabs / members_ui

Makerspace UI for use as part of the members_app
https://github.com/heatsynclabs/members_app
Apache License 2.0
2 stars 2 forks source link

Non-admins can click on certification details, but the page errors out #9

Open zyphlar opened 3 years ago

zyphlar commented 3 years ago

i.e. if an admin goes to https://hslmembers.netlify.app/certs/1 it works, but if a non-admin goes there it throws an error in members_api and causes a crash in members_ui on line 99 of cert_detail.js (const { name, description } = await this.props.read(id); which loads /certs/{id})

Possible fixes include:

JulienTant commented 1 year ago

FIY this has been fixed