mirror of
https://github.com/shlinkio/shlink-web-client.git
synced 2024-12-23 01:20:24 +03:00
Fixed selected tags lost when chaning page
This commit is contained in:
parent
34c5a0ef8f
commit
850630092a
1 changed files with 2 additions and 2 deletions
|
@ -83,10 +83,10 @@ export class ShortUrlsListComponent extends React.Component {
|
|||
}
|
||||
|
||||
componentDidMount() {
|
||||
const { match: { params }, location } = this.props;
|
||||
const { match: { params }, location, shortUrlsListParams } = this.props;
|
||||
const query = qs.parse(location.search, { ignoreQueryPrefix: true });
|
||||
|
||||
this.refreshList({ page: params.page, tags: query.tag ? [ query.tag ] : [] });
|
||||
this.refreshList({ page: params.page, tags: query.tag ? [ query.tag ] : shortUrlsListParams.tags });
|
||||
}
|
||||
|
||||
renderShortUrls() {
|
||||
|
|
Loading…
Reference in a new issue