🐛 Fixed comments not visible in activity feed

refs https://ghost.slack.com/archives/C02G9E68C/p1660830163171599?thread_ts=1660829884.159749&cid=C02G9E68C

- Feature flag was still used, causing comment events to get filtered out
This commit is contained in:
Simon Backx 2022-08-18 15:44:54 +02:00
parent b10ceb75ff
commit d01557cdf8
2 changed files with 2 additions and 2 deletions

View File

@ -19,7 +19,7 @@ export default class MembersActivityEventTypeFilter extends Component {
get availableEventTypes() {
const extended = [...ALL_EVENT_TYPES];
if (this.feature.comments && this.settings.get('commentsEnabled') !== 'off') {
if (this.settings.get('commentsEnabled') !== 'off') {
extended.push({event: 'comment_event', icon: 'event-comment', name: 'Comments'});
}

View File

@ -20,7 +20,7 @@ export default class MembersEventFilter extends Helper {
if (this.settings.get('editorDefaultEmailRecipients') === 'disabled') {
[...EMAIL_EVENTS, ...NEWSLETTER_EVENTS].forEach(type => excludedEventsSet.add(type));
}
if (!this.feature.comments || this.settings.get('commentsEnabled') === 'off') {
if (this.settings.get('commentsEnabled') === 'off') {
excludedEventsSet.add('comment_event');
}