diff options
Diffstat (limited to 'webapp/stores')
-rw-r--r-- | webapp/stores/error_store.jsx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/webapp/stores/error_store.jsx b/webapp/stores/error_store.jsx index e37de40ac..3b0bb023f 100644 --- a/webapp/stores/error_store.jsx +++ b/webapp/stores/error_store.jsx @@ -62,11 +62,11 @@ class ErrorStoreClass extends EventEmitter { BrowserStore.setGlobalItem('last_error_conn', count); } - clearLastError() { + clearLastError(force) { var lastError = this.getLastError(); // preview message can only be cleared by clearNotificationError - if (lastError && lastError.notification) { + if (!force && lastError && lastError.notification) { return; } |