don't show a home page subscribe button to premium users

master
ansuz 2022-06-01 18:37:17 +05:30
parent 2fbecb0dee
commit 1bdf292093
1 changed files with 1 additions and 1 deletions

View File

@ -146,7 +146,7 @@ define([
}
var subButton = function () {
if (Pages.areSubscriptionsAllowed()) {
if (Pages.areSubscriptionsAllowed() && !LocalStore.getPremium()) {
var sub = h('div.cp-sub-prompt', [
h('span', Msg.home_morestorage),
h('a', {href:"/accounts/"}, h('button', [