diff options
author | Christopher Speller <crspeller@gmail.com> | 2016-01-27 10:43:24 -0500 |
---|---|---|
committer | Christopher Speller <crspeller@gmail.com> | 2016-01-27 10:43:24 -0500 |
commit | d2a1950d3c9f074b9b846b471968728a98dd44cf (patch) | |
tree | 7339eecd1686c698ef80a1efa4e16f158be6efc4 /web/react/stores | |
parent | 8868c465c0ac163be266bc976848afbce141f5e5 (diff) | |
parent | 41013daa0b86a450ade9cdac911ccdb7722eb473 (diff) | |
download | chat-d2a1950d3c9f074b9b846b471968728a98dd44cf.tar.gz chat-d2a1950d3c9f074b9b846b471968728a98dd44cf.tar.bz2 chat-d2a1950d3c9f074b9b846b471968728a98dd44cf.zip |
Merge pull request #1995 from mattermost/PLT-1586b
Fixing small issue with displaying activity log
Diffstat (limited to 'web/react/stores')
-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(); |