{{#if this.shouldDisplay}}

Activity feed

{{#let (members-event-fetcher filter=(if (feature "membersActivityFeed") "type:-[email_delivered_event,email_opened_event,email_failed_event]") pageSize=5) as |eventsFetcher|}} {{#if eventsFetcher.isLoading}} Loading... {{/if}} {{#if eventsFetcher.isError}}

There was an error loading events {{#if eventsFetcher.errorMessage}} {{eventsFetcher.errorMessage}} {{/if}}

{{/if}} {{#unless (or eventsFetcher.isLoading eventsFetcher.isError)}}
{{#if eventsFetcher.data}}
    {{#each eventsFetcher.data as |event|}} {{#let (parse-member-event event) as |parsedEvent|}}
  • {{parsedEvent.subject}} {{parsedEvent.action}} {{parsedEvent.object}} {{parsedEvent.info}}
    {{moment-from-now parsedEvent.timestamp}}
  • {{/let}} {{/each}}
{{else}}
{{svg-jar "no-data-list"}} No member activity available.
{{/if}}
{{#if (feature "membersActivityFeed")}} {{/if}} {{/unless}} {{/let}}
{{/if}}