diff --git a/src/components/Gradebook/index.jsx b/src/components/Gradebook/index.jsx index 6e3cede..74226ca 100644 --- a/src/components/Gradebook/index.jsx +++ b/src/components/Gradebook/index.jsx @@ -253,9 +253,9 @@ export default class Gradebook extends React.Component { The grades for this course are now frozen. Editing of grades is no longer allowed. } - { !this.props.canUserViewGradebook && + { (this.props.canUserViewGradebook === false) &&
- You are not authorized to view the gradebook for this course. If you have a global role, please enroll in this course and try again. + You are not authorized to view the gradebook for this course.
}