mirror of
https://github.com/shlinkio/shlink-web-client.git
synced 2026-03-14 19:43:49 +00:00
Updated ApiClient to return pagination data when listing short URLs
This commit is contained in:
@@ -16,10 +16,6 @@ import './ShortUrlsList.scss';
|
||||
export class ShortUrlsList extends React.Component {
|
||||
componentDidMount() {
|
||||
const { match } = this.props;
|
||||
console.log(this.props.shortUrlsListParams, match.params, {
|
||||
...this.props.shortUrlsListParams,
|
||||
page: match.params.page
|
||||
});
|
||||
this.props.listShortUrls(match.params.serverId, {
|
||||
...this.props.shortUrlsListParams,
|
||||
page: match.params.page
|
||||
@@ -134,7 +130,6 @@ class RowMenu extends React.Component {
|
||||
}
|
||||
|
||||
export default connect(state => ({
|
||||
shortUrlsList: state.shortUrlsList,
|
||||
selectedServer: state.selectedServer,
|
||||
shortUrlsListParams: state.shortUrlsListParams,
|
||||
}), { listShortUrls })(ShortUrlsList);
|
||||
|
||||
Reference in New Issue
Block a user