diff options
author | =Corey Hulen <corey@hulen.com> | 2016-01-27 10:07:26 -0500 |
---|---|---|
committer | =Corey Hulen <corey@hulen.com> | 2016-01-27 10:07:26 -0500 |
commit | 41013daa0b86a450ade9cdac911ccdb7722eb473 (patch) | |
tree | 7255d885adfa1bfb0d7955bca83b994fc907d1a4 /web/react/stores/error_store.jsx | |
parent | b7606da40f5403896dfbf930837530b4b22abacd (diff) | |
download | chat-41013daa0b86a450ade9cdac911ccdb7722eb473.tar.gz chat-41013daa0b86a450ade9cdac911ccdb7722eb473.tar.bz2 chat-41013daa0b86a450ade9cdac911ccdb7722eb473.zip |
Fixing small issue with displaying activity log
Diffstat (limited to 'web/react/stores/error_store.jsx')
-rw-r--r-- | web/react/stores/error_store.jsx | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/web/react/stores/error_store.jsx b/web/react/stores/error_store.jsx index 69d6cca7f..ed46d6b68 100644 --- a/web/react/stores/error_store.jsx +++ b/web/react/stores/error_store.jsx @@ -46,6 +46,10 @@ class ErrorStoreClass extends EventEmitter { storeLastError(error) { BrowserStore.setItem('last_error', error); } + + clearLastError() { + BrowserStore.removeItem('last_error'); + } } var ErrorStore = new ErrorStoreClass(); |