From 5ca09cdf096e02cfd8e6ecd61fc4cbb651703558 Mon Sep 17 00:00:00 2001 From: "Sam X. Chen" Date: Tue, 9 Jul 2019 16:47:48 -0400 Subject: [PATCH] Add Feature: system timelines will be showing any modification for duat startat endat receivedat, also notification to the watchers and if card is due, watchers will be notified --- server/notifications/email.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/server/notifications/email.js b/server/notifications/email.js index 45642c904..d198b8b50 100644 --- a/server/notifications/email.js +++ b/server/notifications/email.js @@ -7,7 +7,7 @@ Meteor.startup(() => { if (quoteParams[key]) quoteParams[key] = `"${params[key]}"`; }); ['timeValue', 'timeOldValue'].forEach(key => { - if (quoteParams[key]) quoteParams[key] = `${params[key]}`; + quoteParams[key] = quoteParams[key] ? `${params[key]}` : ''; }); const lan = user.getLanguage();