mirror of
https://github.com/shlinkio/shlink-web-client.git
synced 2026-05-31 01:26:16 +00:00
Defined visit stats page
This commit is contained in:
@@ -9,7 +9,8 @@ import AsideMenu from './AsideMenu';
|
||||
import { pick } from 'ramda';
|
||||
|
||||
export class MenuLayout extends React.Component {
|
||||
componentDidMount() {
|
||||
// FIXME Shouldn't use componentWillMount, but this code has to be run before children components are rendered
|
||||
componentWillMount() {
|
||||
const { serverId } = this.props.match.params;
|
||||
this.props.selectServer(serverId);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user