dev_SaaS
hjm 6 years ago
parent 95a3f43ca3
commit 6142022d74

@ -234,7 +234,7 @@ class EcCourseSupportSetting extends Component {
}
render() {
let { editableMode, schooldata } = this.state;
let { editableMode, schooldata, is_manager } = this.state;
if (!schooldata) schooldata = {}
const course_targets = this.state.course_targets;
@ -290,7 +290,7 @@ class EcCourseSupportSetting extends Component {
</div>
</div>
{ course_targets&&course_targets.length>=0 ? (editableMode ?
{ course_targets&&course_targets.length>=0 ? (editableMode && is_manager ?
<EditableCourseSupportSetting
setEditableMode={this.setEditableMode}
{...this.props}

Loading…
Cancel
Save