From: Daniel Karbach Date: Thu, 27 Nov 2025 08:25:55 +0000 (+0100) Subject: add login button to group interface X-Git-Url: https://git.localhorst.tv/?a=commitdiff_plain;h=45f6bfbffab16cb60b4e0dd52bdd8d7ea89eb0e5;p=alttp.git add login button to group interface --- diff --git a/resources/js/components/groups/Interface.jsx b/resources/js/components/groups/Interface.jsx index 4e68b92..7dedc47 100644 --- a/resources/js/components/groups/Interface.jsx +++ b/resources/js/components/groups/Interface.jsx @@ -4,6 +4,7 @@ import { Button } from 'react-bootstrap'; import { useTranslation } from 'react-i18next'; import List from './List'; +import LoginButton from '../../app/User'; import { getAssignedRounds, missingGroupAssignment } from '../../helpers/Tournament'; import { useUser } from '../../hooks/user'; @@ -18,7 +19,10 @@ const GroupInterface = ({ actions, tournament }) => { } if (!user) { - return

{t('groups.loginRequired')}

+ return
+

{t('groups.loginRequired')}

+ +
} if (missingGroupAssignment(tournament, user)) {