Skip to content
This repository was archived by the owner on Jan 22, 2022. It is now read-only.

History attendance clicking#411

Open
patwang123 wants to merge 4 commits into
masterfrom
history-attendance
Open

History attendance clicking#411
patwang123 wants to merge 4 commits into
masterfrom
history-attendance

Conversation

@patwang123

Copy link
Copy Markdown
Contributor

Cleaned up request to set attendance, made it possible to change attendance in history page

@pusherbot

pusherbot commented Jul 20, 2021

Copy link
Copy Markdown
Collaborator

Build Status (apps/411)

Successful Builds

<AttendanceRow
editable={
currentUser.isStaff &&
section.staff.email === currentUser.email

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

If you want this check, put it on the server-side too. But honestly just don't check it at all, just let staff edit whatever we want!

}: Props) {
const [currentStatus, setStatus] = useState(status);
const setAttendance = useSectionAPI("set_attendance");
return (

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

nit: newline before return

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants