mirror of
https://github.com/TryGhost/Ghost.git
synced 2024-12-26 12:21:36 +03:00
Fixed loading Portal when Stripe is enabled, members disabled and don… (#18757)
…ations flag disabled refs https://ghost.slack.com/archives/C02G9E68C/p1698230240376929
This commit is contained in:
parent
8aaa853f2c
commit
9cad62d826
@ -46,7 +46,7 @@ function finaliseStructuredData(meta) {
|
||||
|
||||
function getMembersHelper(data, frontendKey) {
|
||||
// Do not load Portal if both Memberships and Tips & Donations are disabled
|
||||
if (!settingsCache.get('members_enabled') && !settingsCache.get('donations_enabled')) {
|
||||
if (!settingsCache.get('members_enabled') && !(settingsCache.get('donations_enabled') && labs.isSet('tipsAndDonations'))) {
|
||||
return '';
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user