Skip to content

Commit

Permalink
Open statement by default
Browse files Browse the repository at this point in the history
Signed-off-by: Breezewish <me@breeswish.org>
  • Loading branch information
breezewish committed Feb 25, 2020
1 parent ec4bbce commit 0f3c092
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 5 deletions.
2 changes: 1 addition & 1 deletion ui/.github_release_version
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
# This file contains a version number which will be used to release assets to
# GitHub. To trigger a new asset release, simply increase this version number.
20200225_1
20200225_2
2 changes: 1 addition & 1 deletion ui/src/layout/RootComponent.js
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@ class App extends React.PureComponent {
defaultOpenKeys={['sub1']}
>
{this.renderAppMenuItem('keyvis')}
{isDev ? this.renderAppMenuItem('statement') : null}
{this.renderAppMenuItem('statement')}
{isDev ? (
<Menu.SubMenu
key="sub1"
Expand Down
3 changes: 0 additions & 3 deletions ui/src/utils/client/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -36,9 +36,6 @@ axios.interceptors.response.use(undefined, function(err) {
} else if (err.message === 'Network Error') {
message.error(i18n.t('error.message.network'));
err.handled = true;
} else if (response && response.data) {
message.error(response.data.message);
err.handled = true;
}
return Promise.reject(err);
});
Expand Down

0 comments on commit 0f3c092

Please sign in to comment.