X-Git-Url: https://git.localhorst.tv/?a=blobdiff_plain;f=resources%2Fjs%2Fcomponents%2Fresults%2FList.js;h=911b6a53ba5526a70cb9073963190e6d0883949e;hb=532dea7c62f3619a04cd8d7aa895f8db1f3f98d2;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..911b6a5 100644 --- a/resources/js/components/results/List.js +++ b/resources/js/components/results/List.js @@ -2,27 +2,56 @@ 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 { compareResult } from '../../helpers/Result'; +import { useUser } from '../../hooks/user'; -const List = ({ round, tournament }) =>