Don't block videos in guide for course levels

https://app.asana.com/0/54269205393657/61779149610165
This commit is contained in:
Matt Lott 2015-11-12 06:05:21 -08:00
parent 5ca68ff682
commit df57e99957

View file

@ -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') ? {}