]> git.localhorst.tv Git - alttp.git/commitdiff
show hashes for grouped results
authorDaniel Karbach <daniel.karbach@localhorst.tv>
Thu, 27 Nov 2025 13:04:30 +0000 (14:04 +0100)
committerDaniel Karbach <daniel.karbach@localhorst.tv>
Thu, 27 Nov 2025 13:04:30 +0000 (14:04 +0100)
resources/js/components/rounds/Item.jsx

index 28c86b781a97122fd80b82018dce877ae37576a4..5212394cce722a57f4a9e61ea8389fd300d1a3fa 100644 (file)
@@ -69,31 +69,31 @@ const Item = ({
                                        {formatNumber(tournament, round)}
                                        {t('rounds.date', { date: new Date(round.created_at) })}
                                </p>
-                               {!hasAssignedGroups(tournament) ? <>
-                                       <p className="seed">
-                                               {round.code && round.code.length ?
-                                                       <>
-                                                               <SeedCode code={round.code} game={round.game || 'alttpr'} />
-                                                               <br />
-                                                       </>
-                                               : null}
+                               <p className="seed">
+                                       {round.code && round.code.length ?
+                                               <>
+                                                       <SeedCode code={round.code} game={round.game || 'alttpr'} />
+                                                       <br />
+                                               </>
+                                       : null}
+                                       {!hasAssignedGroups(tournament) ?
                                                <SeedButton
                                                        round={round}
                                                        tournament={tournament}
                                                />
-                                               {' '}
-                                               <SeedRolledBy round={round} />
-                                       </p>
-                                       {mayReportResult(user, tournament) ?
-                                               <p className="report">
-                                                       <ReportButton
-                                                               round={round}
-                                                               tournament={tournament}
-                                                               user={user}
-                                                       />
-                                               </p>
                                        : null}
-                               </> : null}
+                                       {' '}
+                                       <SeedRolledBy round={round} />
+                               </p>
+                               {!hasAssignedGroups(tournament) && mayReportResult(user, tournament) ?
+                                       <p className="report">
+                                               <ReportButton
+                                                       round={round}
+                                                       tournament={tournament}
+                                                       user={user}
+                                               />
+                                       </p>
+                               : null}
                                <div className="bottom-half">
                                        {!hasFixedRunners(tournament) && round.results && round.results.length ?
                                                <p>