Skip to content

Commit

Permalink
display finished and private tournaments by default (#507)
Browse files Browse the repository at this point in the history
  • Loading branch information
tdameros authored Mar 11, 2024
1 parent 634d1b2 commit 6a1cd6d
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -20,13 +20,13 @@ export class TournamentsList extends Component {
<li class="list-group-item d-flex m-2">
<input class="form-check-input me-1" type="checkbox" value=""
id="${TournamentsList.privateCheckBoxId}"
${Cookies.get(TournamentsList.privateCheckBoxCookie) === 'true' ? 'checked': ''}>
${Cookies.get(TournamentsList.privateCheckBoxCookie) === 'false' ? '': 'checked'}>
<label class="form-check-label" for="private-check-box">private</label>
</li>
<li class="list-group-item d-flex m-2">
<input class="form-check-input me-1" type="checkbox" value=""
id="${TournamentsList.finishedCheckBoxId}"
${Cookies.get(TournamentsList.finishedCheckBoxCookie) === 'true' ? 'checked': ''}>
${Cookies.get(TournamentsList.finishedCheckBoxCookie) === 'false' ? '': 'checked'}>
<label class="form-check-label" for="finished-check-box">finished</label>
</li>
</div>
Expand Down

0 comments on commit 6a1cd6d

Please sign in to comment.