Skip to content

Commit

Permalink
Merge pull request #1478 from NYPL/MLN-1304
Browse files Browse the repository at this point in the history
Added current user status for inactive school
  • Loading branch information
gonuguntla authored Dec 23, 2024
2 parents f14f74b + ce08b20 commit 27bc9f7
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -534,7 +534,7 @@ export default function TeacherSetDetails(props) {
};

const inactiveSchoolMessage = () => {
if (isSchoolActive !== "" && isSchoolActive == false) {
if (currentUserStatus !== undefined && isSchoolActive !== "" && isSchoolActive == false) {
return (<Banner content={<>
Your school is inactive, so your account is restricted. Please contact [email protected].
</>} type="warning" />)
Expand Down

0 comments on commit 27bc9f7

Please sign in to comment.