- 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:
Tomas Bures 2020-08-02 15:19:24 +02:00
parent 8dab13d903
commit 87c6cfa656
2 changed files with 2 additions and 2 deletions

View file

@ -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 {

View file

@ -184,7 +184,7 @@ function restart(callback) {
restartBackoffIdx += 1;
}
setTimeout(restart, backoffTimeout);
setTimeout(restart, backoffTimeout, callback);
});
}