MCPcopy Index your code
hub / github.com/codecombat/codecombat / afterInsert

Method afterInsert

app/views/courses/CoursesView.js:382–387  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

380 }
381
382 afterInsert () {
383 super.afterInsert()
384 if (!me.isStudent() && (!this.classCodeQueryVar || !!me.isTeacher())) {
385 return this.onClassLoadError()
386 }
387 }
388
389 onCourseInstancesLoaded () {
390 if (!this.classroomsLoaded || !this.courseInstancesLoaded) return

Callers

nothing calls this directly

Calls 3

onClassLoadErrorMethod · 0.95
isStudentMethod · 0.80
isTeacherMethod · 0.80

Tested by

no test coverage detected