mirror of
https://github.com/overleaf/overleaf.git
synced 2025-04-27 12:52:44 +00:00
Force true or false for userHasNoSubscription, not blank
This commit is contained in:
parent
1739842402
commit
1714b014bf
1 changed files with 1 additions and 1 deletions
|
@ -155,6 +155,6 @@
|
|||
| #{translate("or_unlock_features_bonus")}
|
||||
a(href="/user/bonus") #{translate("sharing_sl")} .
|
||||
script.
|
||||
window.userHasNoSubscription = #{settings.enableSubscriptions && !hasSubscription}
|
||||
window.userHasNoSubscription = #{!!(settings.enableSubscriptions && !hasSubscription)}
|
||||
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue