Skip to content

Commit

Permalink
Do not show Public tag in public games tab
Browse files Browse the repository at this point in the history
  • Loading branch information
Dave Clark committed Sep 29, 2024
1 parent efbcc17 commit f14d1ea
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/online.js
Original file line number Diff line number Diff line change
Expand Up @@ -2906,7 +2906,7 @@ function renderGameInfo(game) {
labels.push(game.timeLimitName.toUpperCase('first'));

if (!game.startedAt)
if (game.collection === 'public')
if (game.collection === 'public' && state.currentTab !== 'publicGames')
labels.push('Public');
else if (!game.collection)
labels.push('Private');
Expand Down

0 comments on commit f14d1ea

Please sign in to comment.