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

Method isEdLinkAccount

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

Source from the content-addressed store, hash-verified

1386 useGoogleCalendar () { return !(features?.chinaUx != null ? features?.chinaUx : false) && (this.get('gplusID') != null) && (this.isAdmin() || this.isOnlineTeacher()) } // if signed in using google SSO
1387 useGoogleAnalytics () { return !((features?.china != null ? features?.china : false) || (features?.chinaInfra != null ? features?.chinaInfra : false)) }
1388 isEdLinkAccount () { return !(features?.chinaUx != null ? features?.chinaUx : false) && (this.get('edLink') != null) }
1389 useDataDog () { return !((features?.china != null ? features?.china : false) || (features?.chinaInfra != null ? features?.chinaInfra : false)) }
1390 // features.china is set globally for our China server
1391 showChinaVideo () { return (features?.china != null ? features?.china : false) || (features?.chinaInfra != null ? features?.chinaInfra : false) }

Callers 1

shouldShowLMSButtonMethod · 0.80

Calls 1

getMethod · 0.95

Tested by

no test coverage detected