mirror of
https://github.com/TryGhost/Ghost.git
synced 2025-01-20 22:42:53 -05:00
Fixed tests for demo-data
no issue
This commit is contained in:
parent
ca395a958c
commit
10a4a8eb12
1 changed files with 2 additions and 2 deletions
|
@ -32,13 +32,13 @@ class EmailRecipientsImporter extends TableImporter {
|
|||
.filter(entry => entry.newsletter_id === this.model.newsletter_id)
|
||||
.filter(entry => new Date(entry.created_at) < earliestOpenTime)
|
||||
.map(memberSubscribeEvent => memberSubscribeEvent.member_id);
|
||||
this.events = generateEvents({
|
||||
this.events = this.membersList.length > 0 ? generateEvents({
|
||||
shape: 'ease-out',
|
||||
trend: 'negative',
|
||||
total: this.membersList.length,
|
||||
startTime: earliestOpenTime,
|
||||
endTime: currentTime < latestOpenTime ? currentTime : latestOpenTime
|
||||
});
|
||||
}) : [];
|
||||
this.emailMeta = {
|
||||
emailCount: this.model.email_count,
|
||||
deliveredCount: this.model.delivered_count,
|
||||
|
|
Loading…
Add table
Reference in a new issue