mirror of
https://github.com/overleaf/overleaf.git
synced 2025-01-30 21:31:21 +00:00
Don't use brand prefix setting to mark v1
This commit is contained in:
parent
8df31590a9
commit
0724482808
1 changed files with 1 additions and 2 deletions
|
@ -144,7 +144,6 @@ module.exports = ProjectController =
|
|||
timer = new metrics.Timer("project-list")
|
||||
user_id = AuthenticationController.getLoggedInUserId(req)
|
||||
currentUser = AuthenticationController.getSessionUser(req)
|
||||
isV1 = Settings.brandPrefix == "ol-"
|
||||
async.parallel {
|
||||
tags: (cb)->
|
||||
TagsHandler.getAllTags user_id, cb
|
||||
|
@ -180,7 +179,7 @@ module.exports = ProjectController =
|
|||
notifications: notifications or []
|
||||
user: user
|
||||
hasSubscription: results.hasSubscription[0]
|
||||
isV1: isV1
|
||||
isV1: results.v1Projects?
|
||||
}
|
||||
|
||||
if Settings?.algolia?.app_id? and Settings?.algolia?.read_only_api_key?
|
||||
|
|
Loading…
Reference in a new issue