]> git.localhorst.tv Git - alttp.git/commitdiff
tag round id in list
authorDaniel Karbach <daniel.karbach@localhorst.tv>
Sun, 1 Feb 2026 13:16:58 +0000 (14:16 +0100)
committerDaniel Karbach <daniel.karbach@localhorst.tv>
Sun, 1 Feb 2026 13:16:58 +0000 (14:16 +0100)
resources/js/components/rounds/Item.jsx

index b37b34b34728057c2b94b92d083378f77783a012..b2e26cea262356f8aba5e4b5e1576869f1826cff 100644 (file)
@@ -28,7 +28,7 @@ import { hasFinishedRound } from '../../helpers/User';
 import { useUser } from '../../hooks/user';
 
 const getClassName = (round, tournament, user) => {
-       const classNames = ['round'];
+       const classNames = ['round', `round-${round?.id}`];
        if (round.locked) {
                classNames.push('is-locked');
        } else {