summaryrefslogtreecommitdiffstats
path: root/webapp/stores/error_store.jsx
diff options
context:
space:
mode:
authorJoram Wilander <jwawilander@gmail.com>2016-05-30 09:59:53 -0400
committerHarrison Healey <harrisonmhealey@gmail.com>2016-05-30 09:59:53 -0400
commit0dfac9875ef6f5f20318a3ef542b11592da8480e (patch)
treecf093fb2974535a0a6ab929af5e9d23032fafb01 /webapp/stores/error_store.jsx
parente4cb9141a456bbedc4f0e173bc1d912f33846043 (diff)
downloadchat-0dfac9875ef6f5f20318a3ef542b11592da8480e.tar.gz
chat-0dfac9875ef6f5f20318a3ef542b11592da8480e.tar.bz2
chat-0dfac9875ef6f5f20318a3ef542b11592da8480e.zip
Add license expiry messages (#3153)
Diffstat (limited to 'webapp/stores/error_store.jsx')
-rw-r--r--webapp/stores/error_store.jsx16
1 files changed, 8 insertions, 8 deletions
diff --git a/webapp/stores/error_store.jsx b/webapp/stores/error_store.jsx
index 4a357472d..e37de40ac 100644
--- a/webapp/stores/error_store.jsx
+++ b/webapp/stores/error_store.jsx
@@ -20,12 +20,12 @@ class ErrorStoreClass extends EventEmitter {
this.removeChangeListener = this.removeChangeListener.bind(this);
this.getLastError = this.getLastError.bind(this);
this.storeLastError = this.storeLastError.bind(this);
- this.getIgnoreEmailPreview = this.getIgnoreEmailPreview.bind(this);
- this.ignore_email_preview = false;
+ this.getIgnoreNotification = this.getIgnoreNotification.bind(this);
+ this.ignore_notification = false;
}
- getIgnoreEmailPreview() {
- return this.ignore_email_preview;
+ getIgnoreNotification() {
+ return this.ignore_notification;
}
emitChange() {
@@ -65,8 +65,8 @@ class ErrorStoreClass extends EventEmitter {
clearLastError() {
var lastError = this.getLastError();
- // preview message can only be cleared by clearPreviewError
- if (lastError && lastError.email_preview) {
+ // preview message can only be cleared by clearNotificationError
+ if (lastError && lastError.notification) {
return;
}
@@ -77,8 +77,8 @@ class ErrorStoreClass extends EventEmitter {
}
}
- clearPreviewError() {
- this.ignore_email_preview = true;
+ clearNotificationError() {
+ this.ignore_notification = true;
this.storeLastError('');
this.clearLastError();
}