diff --git a/frontend/src/component/app.jsx b/frontend/src/component/app.jsx index 924714f767..9369a62d80 100644 --- a/frontend/src/component/app.jsx +++ b/frontend/src/component/app.jsx @@ -93,12 +93,19 @@ export default class App extends Component { } render () { + const shouldUpdateScroll = (prevRouterProps, { location }) => { + if (prevRouterProps && location.pathname !== prevRouterProps.location.pathname) { + return location.action === 'POP'; + } else { + return [0, 0]; + } + }; const createListItem = (path, caption, icon) => - {icon && } {caption} - ; + ; return (
@@ -119,7 +126,7 @@ export default class App extends Component { {createListItem('/applications', 'Applications', 'apps')} - +