mirror of
https://github.com/TryGhost/Ghost.git
synced 2024-12-01 05:50:35 +03:00
Fixed post counts cleared when member attribution flag was disabled
This commit is contained in:
parent
719e5321d6
commit
14f91093eb
@ -110,7 +110,7 @@ module.exports = async (model, frame, options = {}) => {
|
||||
});
|
||||
}
|
||||
|
||||
if (!labs.isSet('memberAttribution')) {
|
||||
if (!labs.isSet('memberAttribution') && !labs.isSet('emailClicks')) {
|
||||
delete jsonModel.count;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user