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

Method isNewDashboardActive

app/models/User.js:179–185  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

177 isIndividualUser () { return !this.isStudent() && !User.isTeacher(this.attributes) }
178
179 isNewDashboardActive () {
180 const features = {
181 isNewDashboardActive: true,
182 ...(this.get('features') || {}),
183 }
184 return features.isNewDashboardActive
185 }
186
187 isInternal () {
188 const email = this.get('email')

Callers 5

getVueRouterFunction · 0.80
'teachers'Method · 0.80
'teachers/classes'Method · 0.80
'teachers/courses'Method · 0.80

Calls 1

getMethod · 0.95

Tested by

no test coverage detected