summaryrefslogtreecommitdiffstats
path: root/webapp/utils
diff options
context:
space:
mode:
authorHarrison Healey <harrisonmhealey@gmail.com>2017-04-25 12:39:08 -0400
committerCorey Hulen <corey@hulen.com>2017-04-25 09:39:08 -0700
commit7fc663ca75e966847243a845cff31c07737c4492 (patch)
treef70c33a2bebae66c7eb0f608d509cf0cf4857177 /webapp/utils
parent8d1a132eda861f3e491a406233b726ff953cdffd (diff)
downloadchat-7fc663ca75e966847243a845cff31c07737c4492.tar.gz
chat-7fc663ca75e966847243a845cff31c07737c4492.tar.bz2
chat-7fc663ca75e966847243a845cff31c07737c4492.zip
PLT-6283 Hide Preview Mode error bar after enabling email notifications (#6180)
Diffstat (limited to 'webapp/utils')
-rw-r--r--webapp/utils/constants.jsx9
1 files changed, 9 insertions, 0 deletions
diff --git a/webapp/utils/constants.jsx b/webapp/utils/constants.jsx
index 1960fb050..2b6c5d6be 100644
--- a/webapp/utils/constants.jsx
+++ b/webapp/utils/constants.jsx
@@ -287,6 +287,14 @@ export const ErrorPageTypes = {
LOCAL_STORAGE: 'local_storage'
};
+export const ErrorBarTypes = {
+ LICENSE_EXPIRING: 'error_bar.license_expiring',
+ LICENSE_EXPIRED: 'error_bar.license_expired',
+ LICENSE_PAST_GRACE: 'error_bar.past_grace',
+ PREVIEW_MODE: 'error_bar.preview_mode',
+ SITE_URL: 'error_bar.site_url'
+};
+
export const Constants = {
Preferences,
SocketEvents,
@@ -297,6 +305,7 @@ export const Constants = {
TutorialSteps,
PostTypes,
ErrorPageTypes,
+ ErrorBarTypes,
IGNORE_POST_TYPES: [PostTypes.JOIN_LEAVE, PostTypes.JOIN_CHANNEL, PostTypes.LEAVE_CHANNEL, PostTypes.REMOVE_FROM_CHANNEL, PostTypes.ADD_TO_CHANNEL, PostTypes.ADD_REMOVE],