]> git.localhorst.tv Git - alttp.git/blobdiff - resources/js/components/rounds/Item.js
round rolled by
[alttp.git] / resources / js / components / rounds / Item.js
index 52b989d7a4aac04e484022103b6b6c86139570b4..c318eb7910d3347b771f5101969f1416c12fff90 100644 (file)
@@ -5,9 +5,10 @@ import { withTranslation } from 'react-i18next';
 import LockButton from './LockButton';
 import SeedButton from './SeedButton';
 import SeedCode from './SeedCode';
+import SeedRolledBy from './SeedRolledBy';
 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';
@@ -56,8 +57,10 @@ const Item = ({
                                round={round}
                                tournament={tournament}
                        />
+                       {' '}
+                       <SeedRolledBy round={round} />
                </p>
-               {isParticipant(user, tournament) ?
+               {isRunner(user, tournament) ?
                        <p className="report">
                                <ReportButton
                                        participant={findParticipant(tournament, user)}