summaryrefslogtreecommitdiffstats
path: root/server/notifications
diff options
context:
space:
mode:
authorSam X. Chen <sam.xi.chen@gmail.com>2019-07-09 16:47:48 -0400
committerSam X. Chen <sam.xi.chen@gmail.com>2019-07-09 16:47:48 -0400
commit5ca09cdf096e02cfd8e6ecd61fc4cbb651703558 (patch)
tree47900ca06aecf2b9812b78c2a21b2e2e082246e2 /server/notifications
parent2c44f834530d09cfc6645acb8dd84ffd9e4eeb6b (diff)
downloadwekan-5ca09cdf096e02cfd8e6ecd61fc4cbb651703558.tar.gz
wekan-5ca09cdf096e02cfd8e6ecd61fc4cbb651703558.tar.bz2
wekan-5ca09cdf096e02cfd8e6ecd61fc4cbb651703558.zip
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
Diffstat (limited to 'server/notifications')
-rw-r--r--server/notifications/email.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/server/notifications/email.js b/server/notifications/email.js
index 45642c90..d198b8b5 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();