From 282eb7a209d2f57f26faf72e4df610cd7d893019 Mon Sep 17 00:00:00 2001 From: Booteille Date: Mon, 25 Nov 2024 18:42:26 +0100 Subject: [PATCH] Fix expiration text --- themes/default/templates/partial/mail.js.ep | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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})`;