don't prompt users with plans to upgrade on the support page

This commit is contained in:
ansuz 2022-03-11 13:26:29 +05:30
parent 4b9e2bf26e
commit 027fb8b4bb
1 changed files with 4 additions and 0 deletions

View File

@ -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,