Defined visit stats page

This commit is contained in:
Alejandro Celaya
2018-07-29 19:25:22 +02:00
parent c02b0e0591
commit a75c7309f7
8 changed files with 87 additions and 31 deletions

View File

@@ -12,8 +12,8 @@ import { pick } from 'ramda';
export class ShortUrlsList extends React.Component {
refreshList = extraParams => {
const { listShortUrls, shortUrlsListParams, match: { params } } = this.props;
listShortUrls(params.serverId, {
const { listShortUrls, shortUrlsListParams } = this.props;
listShortUrls({
...shortUrlsListParams,
...extraParams
});