mirror of
https://github.com/overleaf/overleaf.git
synced 2024-11-21 20:47:08 -05:00
Get subscription status correctly for showing upgrade/bonus link
This commit is contained in:
parent
2a69e185ce
commit
ca664e0063
1 changed files with 1 additions and 1 deletions
|
@ -147,7 +147,7 @@ module.exports = ProjectController =
|
|||
projects: projects
|
||||
tags: tags
|
||||
user: user
|
||||
hasSubscription: results.hasSubscription
|
||||
hasSubscription: results.hasSubscription[0]
|
||||
}
|
||||
|
||||
if Settings?.algolia?.app_id? and Settings?.algolia?.read_only_api_key?
|
||||
|
|
Loading…
Reference in a new issue