diff options
Diffstat (limited to 'webapp/components/admin_console')
-rw-r--r-- | webapp/components/admin_console/license_settings.jsx | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/webapp/components/admin_console/license_settings.jsx b/webapp/components/admin_console/license_settings.jsx index 84867ab2e..844dd0569 100644 --- a/webapp/components/admin_console/license_settings.jsx +++ b/webapp/components/admin_console/license_settings.jsx @@ -5,6 +5,7 @@ import $ from 'jquery'; import ReactDOM from 'react-dom'; import * as Utils from 'utils/utils.jsx'; +import ErrorStore from 'stores/error_store.jsx'; import {uploadLicenseFile, removeLicenseFile} from 'actions/admin_actions.jsx'; import {injectIntl, intlShape, defineMessages, FormattedMessage, FormattedHTMLMessage} from 'react-intl'; @@ -80,6 +81,7 @@ class LicenseSettings extends React.Component { () => { $('#remove-button').button('reset'); this.setState({fileSelected: false, fileName: null, serverError: null}); + ErrorStore.clearLastError(true); window.location.reload(true); }, (error) => { |