Implemented left menu

This commit is contained in:
Alejandro Celaya
2018-07-18 20:01:56 +02:00
parent 5a7ac69aff
commit 3ea33d0e38
5 changed files with 74 additions and 7 deletions

View File

@@ -15,10 +15,10 @@ import './ShortUrlsList.scss';
export class ShortUrlsList extends React.Component {
componentDidMount() {
const { match } = this.props;
this.props.listShortUrls(match.params.serverId, {
const { match: { params } } = this.props;
this.props.listShortUrls(params.serverId, {
...this.props.shortUrlsListParams,
page: match.params.page
page: params.page
});
}