X-Git-Url: https://git.localhorst.tv/?a=blobdiff_plain;f=resources%2Fjs%2Fcomponents%2Fresults%2FList.js;h=14c70968cd5324823c558732df049e3a2fd715ea;hb=f446d5bcf3b87bd9443a060e27e9c0601c96fbb9;hp=cdd90e847e91785b587ee8376f30912f67ba91f4;hpb=eebc6384e56336b66ec250fc2aea3be6171d53ff;p=alttp.git diff --git a/resources/js/components/results/List.js b/resources/js/components/results/List.js index cdd90e8..14c7096 100644 --- a/resources/js/components/results/List.js +++ b/resources/js/components/results/List.js @@ -2,20 +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 }) =>