Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 3 additions & 1 deletion components/tournament/TournamentDetail.vue
Original file line number Diff line number Diff line change
Expand Up @@ -1361,7 +1361,9 @@ const checkInTeamsSubscription = generateSubscription({
player_steam_id: true,
role: true,
checked_in_at: true,
player: playerFields,
// The check-in panel shows these players without elo and the review
// doesn't show them at all.
player: playerFieldsWithoutElo,
},
],
roster_aggregate: [
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -287,6 +287,14 @@ describe("the check-in list for a signed-in player", () => {
]);
});

it("leaves elo out of the check-in list, which never shows it", async () => {
await mountCheckIn("moderator");

const [list] = checkIn();
expect(print(list.query)).toContain("is_banned");
expect(print(list.query)).not.toMatch(/^\s*elo\b/m);
});

it("reads the whole list on one subscription for a moderator", async () => {
await mountCheckIn("moderator");

Expand Down
Loading