-
Teams:
- {/* TODO: scroll denne menyen, eventuelt søkefelt */}
+ {/* Make a horizontal stack */}
+
+
- Team Name
+ Team Name
{/* Team Members */}
- Actions
+ Actions
@@ -91,7 +123,6 @@ function TeamList(props) {
{team.name}
- {/* {team.members} */}
@@ -184,6 +215,7 @@ let showError = (message) => {};
export default function TournamentTeams(props) {
const [teams, setTeams] = React.useState([]);
const [selectedTeamId, setSelectedTeamId] = React.useState(-1);
+ const [originalList, setOriginalList] = React.useState([])
const { tournamentId } = useParams();
function getTeams() {
@@ -194,6 +226,7 @@ export default function TournamentTeams(props) {
showError(data.data);
}
setTeams(data.data);
+ setOriginalList(data.data)
//setselectedTeamId(teams[0].id);
})
.catch((err) => showError(err));
@@ -218,7 +251,7 @@ export default function TournamentTeams(props) {
-
+
diff --git a/src/client/src/components/AsuraBar.js b/src/client/src/components/AsuraBar.js
index 7de5361..2fc2bb0 100644
--- a/src/client/src/components/AsuraBar.js
+++ b/src/client/src/components/AsuraBar.js
@@ -25,11 +25,11 @@ function LoggedInMenu(props) {
return (
<>
+ }>{props.user.name}