mirror of
https://github.com/codeninjasllc/codecombat.git
synced 2024-11-24 08:08:15 -05:00
Don't block videos in guide for course levels
https://app.asana.com/0/54269205393657/61779149610165
This commit is contained in:
parent
5ca68ff682
commit
df57e99957
1 changed files with 1 additions and 1 deletions
|
@ -23,7 +23,7 @@ module.exports = class LevelGuideView extends CocoView
|
|||
# A/B Testing video tutorial styles
|
||||
@helpVideosIndex = me.getVideoTutorialStylesIndex(@helpVideos.length)
|
||||
@helpVideo = @helpVideos[@helpVideosIndex] if @helpVideos.length > 0
|
||||
@videoLocked = not @helpVideo?.free and @requiresSubscription
|
||||
@videoLocked = not (@helpVideo?.free or options.level.get('type', true) is 'course') and @requiresSubscription
|
||||
|
||||
@firstOnly = options.firstOnly
|
||||
@docs = options?.docs ? options.level.get('documentation') ? {}
|
||||
|
|
Loading…
Reference in a new issue