Skip to content

Commit

Permalink
Fix checkbox not displaying correctly
Browse files Browse the repository at this point in the history
  • Loading branch information
Simyon264 committed May 19, 2024
1 parent d60b0e7 commit 18520e5
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion ReplayBrowser/Pages/Account/Manage.razor
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,14 @@ else if (account != null)

// Toggle for redacting account
<em>Redacting an account will mean, that only you will be able to see and search for you in replays.</em>
<p>Redact Account: <input type="checkbox" id="redact" @bind="account.Settings.RedactInformation" /></p>
<p>Redact Account: @if (account.Settings.RedactInformation)
{
<input type="checkbox" id="redact" checked/>
}
else
{
<input type="checkbox" id="redact"/>
}</p>

<button class="btn btn-primary" id="save">Save</button>
}
Expand Down

0 comments on commit 18520e5

Please sign in to comment.