mirror of https://github.com/xwiki-labs/cryptpad
don't prompt users with plans to upgrade on the support page
This commit is contained in:
parent
4b9e2bf26e
commit
027fb8b4bb
|
@ -169,6 +169,10 @@ define([
|
|||
|
||||
create['subscribe'] = function () {
|
||||
if (!Pages.areSubscriptionsAllowed()) { return; }
|
||||
try {
|
||||
if (common.getMetadataMgr().getPrivateData().plan) { return; }
|
||||
} catch (err) {}
|
||||
|
||||
var url = Pages.accounts.upgradeURL;
|
||||
var accountsLink = h('a', {
|
||||
href: url,
|
||||
|
|
Loading…
Reference in New Issue