Skip to content

Commit

Permalink
Added current user status for inactive school
Browse files Browse the repository at this point in the history
  • Loading branch information
deepikagonuguntla committed Dec 23, 2024
1 parent 80d9eed commit 5411555
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 5411555

Please sign in to comment.