MCPcopy Create free account
hub / github.com/codecombat/codecombat / sorted

Function sorted

app/core/store/modules/courses.js:24–30  ·  view source on GitHub ↗
(state)

Source from the content-addressed store, hash-verified

22
23 getters: {
24 sorted (state) {
25 let courses = _.values(state.byId)
26 if (!me.showOzCourses()) {
27 courses = courses.filter(c => !OZ_COURSE_IDS.includes(c._id))
28 }
29 return sortAllCourses(courses)
30 },
31 },
32
33 mutations: {

Callers

nothing calls this directly

Calls 3

sortAllCoursesFunction · 0.85
showOzCoursesMethod · 0.80
filterMethod · 0.80

Tested by

no test coverage detected