diff --git a/src/components/Forms/Algorithm/AlgorithmSubmission.tsx b/src/components/Forms/Algorithm/AlgorithmSubmission.tsx index 745f52f..c0ec85f 100644 --- a/src/components/Forms/Algorithm/AlgorithmSubmission.tsx +++ b/src/components/Forms/Algorithm/AlgorithmSubmission.tsx @@ -36,7 +36,10 @@ class AlgorithmSubmission extends React.Component { async refresh() { const { user } = this.props; if (user != null) { - const usersAlgorithms = await comicApi.algorithms({ has_admin: user.id, benchmark: this.props.benchmark.id }); + const usersAlgorithms = await comicApi.algorithms({ + creator: user.id, + submissions_benchmark_or_empty: this.props.benchmark.id, + }); this.setState({ usersAlgorithms }); } }