Show v2 message if awareOfV2 flag set

This commit is contained in:
James Allen
2018-01-26 16:44:14 +00:00
parent 7e829f6944
commit 12e55fb487
3 changed files with 10 additions and 1 deletions
@@ -157,7 +157,7 @@ module.exports = ProjectController =
hasSubscription: (cb)->
LimitationsManager.userHasSubscriptionOrIsGroupMember currentUser, cb
user: (cb) ->
User.findById user_id, "featureSwitches overleaf", cb
User.findById user_id, "featureSwitches overleaf awareOfV2", cb
}, (err, results)->
if err?
logger.err err:err, "error getting data for project list page"