Fixes
- Mailtrain would not start if built-in ZoneMTA had to retry the startup - Campaign list showed "Sending" instead of "Scheduled" for scheduled campaigns
This commit is contained in:
parent
8dab13d903
commit
87c6cfa656
2 changed files with 2 additions and 2 deletions
|
@ -73,7 +73,7 @@ export default class List extends Component {
|
|||
title: t('status'),
|
||||
render: (data, display, rowData) => {
|
||||
if (data === CampaignStatus.SCHEDULED) {
|
||||
const scheduled = rowData[6];
|
||||
const scheduled = rowData[7];
|
||||
if (scheduled && new Date(scheduled) > new Date()) {
|
||||
return t('sendingScheduled');
|
||||
} else {
|
||||
|
|
|
@ -184,7 +184,7 @@ function restart(callback) {
|
|||
restartBackoffIdx += 1;
|
||||
}
|
||||
|
||||
setTimeout(restart, backoffTimeout);
|
||||
setTimeout(restart, backoffTimeout, callback);
|
||||
});
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue