diff --git a/themes/default/templates/partial/mail.js.ep b/themes/default/templates/partial/mail.js.ep index 68c45d0..e4f5619 100644 --- a/themes/default/templates/partial/mail.js.ep +++ b/themes/default/templates/partial/mail.js.ep @@ -36,7 +36,7 @@ function populateBody() { links.forEach(function(name, index, array) { var item = findItem(name); if (item !== null && item !== undefined) { - var limit = (item.delay === 0) ? null : formatDate(item.delay * 86400 + item.created_at); + var limit = (item.delay == 0) ? null : formatDate(item.delay * 86400 + item.created_at); text += `- ${item.name}<%= l(':') %> ${item.url}`; if (limit !== null) { text += `\n (<%= l('deadline: ') %>${limit})`;