|
@@ -621,7 +621,7 @@ import QuesNaire from "./EventContentTypeTemplate/QuesNaire";
|
|
|
if(this.showType.length === 1) {
|
|
|
// if(this.showType[0] === 'Exam') {
|
|
|
return this.showType.includes(item.type) && item.classIds.includes(this.courseNow.list) &&
|
|
|
- item.owner === 'school' ? item.creatorId === this.courseNow.roster.teacherId : (item.subjects.includes(this.courseNow.subject.id) || item.subjects.includes(this.courseNow.id))
|
|
|
+ (item.owner === 'school' ? item.creatorId === this.courseNow.roster.teacherId : (item.subjects.includes(this.courseNow.subject.id) || item.subjects.includes(this.courseNow.id)))
|
|
|
} else {
|
|
|
return this.showType.includes(item.type)
|
|
|
}
|