Skip to content

Commit

Permalink
don't show a home page subscribe button to premium users
Browse files Browse the repository at this point in the history
  • Loading branch information
ansuz committed Jun 1, 2022
1 parent 2fbecb0 commit 1bdf292
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion customize.dist/pages/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -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', [
Expand Down

0 comments on commit 1bdf292

Please sign in to comment.