Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Student Attendance Display #127

Open
Anshul-Birla opened this issue Jan 12, 2023 · 0 comments
Open

Student Attendance Display #127

Anshul-Birla opened this issue Jan 12, 2023 · 0 comments

Comments

@Anshul-Birla
Copy link
Collaborator

We need to recreate the same attendance page for students. We can add a query parameter to the route that gets attendance called userid, that will only return data of the given userId, and display just that students data in the frontend. We need to make this read only, so there should be no save attendance button, and the buttons should all be disabled for attendance.

We do not need a missing attendance component for students, so hide this component when rendering this page for students.

There are places in the app where it detects if the currently signed in user is a student or not, so just copy that logic for your code

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant