summaryrefslogtreecommitdiffstats
path: root/webapp/utils
diff options
context:
space:
mode:
authoratp <pruthvip15@gmail.com>2017-08-21 19:30:40 +0530
committerHarrison Healey <harrisonmhealey@gmail.com>2017-08-21 10:00:40 -0400
commit2986c384690951b2e87c016efaa6f447d844e6b2 (patch)
tree7a55aa81ef687fb0a942d09053ebe0e4fb3886f7 /webapp/utils
parent22efdbe6fb897ea1b4b2cf52c66eb3037474fcf5 (diff)
downloadchat-2986c384690951b2e87c016efaa6f447d844e6b2.tar.gz
chat-2986c384690951b2e87c016efaa6f447d844e6b2.tar.bz2
chat-2986c384690951b2e87c016efaa6f447d844e6b2.zip
PLT-7256: Fix email rate selection when batching is disabled (#7202)
Diffstat (limited to 'webapp/utils')
-rw-r--r--webapp/utils/constants.jsx3
1 files changed, 2 insertions, 1 deletions
diff --git a/webapp/utils/constants.jsx b/webapp/utils/constants.jsx
index 41ca17611..a5e24c69c 100644
--- a/webapp/utils/constants.jsx
+++ b/webapp/utils/constants.jsx
@@ -59,7 +59,8 @@ export const Preferences = {
EMAIL_INTERVAL: 'email_interval',
INTERVAL_IMMEDIATE: 30, // "immediate" is a 30 second interval
INTERVAL_FIFTEEN_MINUTES: 15 * 60,
- INTERVAL_HOUR: 60 * 60
+ INTERVAL_HOUR: 60 * 60,
+ INTERVAL_NEVER: 0
};
export const ActionTypes = keyMirror({