X-Git-Url: https://git.localhorst.tv/?a=blobdiff_plain;f=resources%2Fjs%2Fcomponents%2Fresults%2FList.js;h=14c70968cd5324823c558732df049e3a2fd715ea;hb=6fe6cd1272c87bf7f89aa9ba59362e98c790c564;hp=9ad089632c5b6e035c9799646cf3a178fe5c4d8e;hpb=d920d896d4357289112e31d3b33d386ab754a12d;p=alttp.git diff --git a/resources/js/components/results/List.js b/resources/js/components/results/List.js index 9ad0896..14c7096 100644 --- a/resources/js/components/results/List.js +++ b/resources/js/components/results/List.js @@ -2,18 +2,26 @@ import PropTypes from 'prop-types'; import React from 'react'; import Item from './Item'; -import { sortByResult } from '../../helpers/Participant'; +import { sortByFinished, sortByResult } from '../../helpers/Participant'; +import { maySeeResults } from '../../helpers/permissions'; +import { getRunners } from '../../helpers/Tournament'; +import { withUser } from '../../helpers/UserContext'; -const List = ({ round, tournament }) =>