Skip to content

Commit d8e876d

Browse files
authored
Fix student form values showing up (#123)
* Funny student form fix * Actual fix this time
1 parent dfe383b commit d8e876d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

frontend/components/accounts/forms/generic-info-form.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -104,7 +104,7 @@ const GenericInfoForm = ({ mutate, initialData }: GenericInfoProps) => {
104104
displayName="Display Name"
105105
disabled={isSubmitting}
106106
/>
107-
{initialData?.student && (
107+
{initialData?.groups.includes("student") && (
108108
<>
109109
<Form.Field>
110110
<Form.Label>Majors</Form.Label>

0 commit comments

Comments
 (0)