diff options
Diffstat (limited to 'webapp/utils/constants.jsx')
-rw-r--r-- | webapp/utils/constants.jsx | 9 |
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], |