X-Git-Url: https://git.localhorst.tv/?a=blobdiff_plain;ds=inline;f=resources%2Fjs%2Fcomponents%2Frounds%2FItem.js;h=fa29f5404daeb71e71a5a5265292cfdc3faf5ccf;hb=a748d5724c8acff6e3bb3fe6c20aa5968b65d58a;hp=52b989d7a4aac04e484022103b6b6c86139570b4;hpb=a4260a00251cef4ad806c9d5c44d4c444d6ab831;p=alttp.git diff --git a/resources/js/components/rounds/Item.js b/resources/js/components/rounds/Item.js index 52b989d..fa29f54 100644 --- a/resources/js/components/rounds/Item.js +++ b/resources/js/components/rounds/Item.js @@ -7,7 +7,7 @@ import SeedButton from './SeedButton'; import SeedCode from './SeedCode'; import List from '../results/List'; import ReportButton from '../results/ReportButton'; -import { isParticipant, isRunner } from '../../helpers/permissions'; +import { isRunner } from '../../helpers/permissions'; import { isComplete } from '../../helpers/Round'; import { findParticipant } from '../../helpers/Tournament'; import { hasFinishedRound } from '../../helpers/User'; @@ -57,7 +57,7 @@ const Item = ({ tournament={tournament} />
- {isParticipant(user, tournament) ? + {isRunner(user, tournament) ?