mirror of
https://github.com/TryGhost/Ghost.git
synced 2024-11-28 05:37:34 +03:00
🐛 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:
parent
b10ceb75ff
commit
d01557cdf8
@ -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'});
|
||||
}
|
||||
|
||||
|
@ -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');
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user