Fix fetch call

This commit is contained in:
René Pfeuffer
2020-09-07 13:48:20 +02:00
parent 794b207f1f
commit 2e74c97bac

View File

@@ -85,10 +85,10 @@ class Overview extends React.Component<Props> {
};
fetchRepos = () => {
const { namespace, page, location, fetchReposByPage } = this.props;
const { page, location, fetchReposByPage } = this.props;
const link = this.getReposLink();
if (link) {
fetchReposByPage(link, page, namespace, urls.getQueryStringFromLocation(location));
fetchReposByPage(link, page, urls.getQueryStringFromLocation(location));
}
};