Skip to content

Iteration 4 - Fix personal email deletion confirm and last-email guard#429

Open
kienthuynh wants to merge 1 commit intobeautyjoy:mainfrom
cs169:clean/fix-email-deletion
Open

Iteration 4 - Fix personal email deletion confirm and last-email guard#429
kienthuynh wants to merge 1 commit intobeautyjoy:mainfrom
cs169:clean/fix-email-deletion

Conversation

@kienthuynh
Copy link
Copy Markdown
Contributor

This is a copy of cs169#108 on the local repo. @NishK05's work.

Fixes Bugs Caught in the discussion related to deleting emails and also not allowing teachers or admins to leave teachers with no emails.

Issue 1: On the confirm delete page, even if you clicked cancel, the email would be deleted
-fixes the logic for delete
Issue 2: You could delete a teacher's only email and leave them with no contact info
-added a client and server-side check to ensure 1 email is always stored.

@cycomachead @armandofox @mdawn65

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

Successfully merging this pull request may close these issues.

2 participants