From 7fc663ca75e966847243a845cff31c07737c4492 Mon Sep 17 00:00:00 2001 From: Harrison Healey Date: Tue, 25 Apr 2017 12:39:08 -0400 Subject: PLT-6283 Hide Preview Mode error bar after enabling email notifications (#6180) --- webapp/utils/constants.jsx | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'webapp/utils') 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], -- cgit v1.2.3-1-g7c22