Fixed post counts cleared when member attribution flag was disabled

This commit is contained in:
Simon Backx 2022-09-21 11:32:00 +02:00
parent 719e5321d6
commit 14f91093eb

View File

@ -110,7 +110,7 @@ module.exports = async (model, frame, options = {}) => {
});
}
if (!labs.isSet('memberAttribution')) {
if (!labs.isSet('memberAttribution') && !labs.isSet('emailClicks')) {
delete jsonModel.count;
}