Skip to content

Commit

Permalink
added currentuser condition
Browse files Browse the repository at this point in the history
  • Loading branch information
deepikagonuguntla committed Dec 30, 2024
1 parent 27bc9f7 commit cbc11ef
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 (currentUserStatus !== undefined && isSchoolActive !== "" && isSchoolActive == false) {
if (currentUserStatus && 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 cbc11ef

Please sign in to comment.