fix: delete button not showing up
This commit is contained in:
parent
b595ce2909
commit
5ee623b295
3 changed files with 6 additions and 5 deletions
|
@ -98,9 +98,9 @@
|
||||||
private ImageData image;
|
private ImageData image;
|
||||||
private string role;
|
private string role;
|
||||||
|
|
||||||
protected override async Task OnAfterRenderAsync(bool firstRender)
|
protected override async Task OnParametersSetAsync()
|
||||||
{
|
{
|
||||||
await base.OnAfterRenderAsync(firstRender);
|
await base.OnParametersSetAsync();
|
||||||
var cauthStateProvder = (CustomAuthenticationStateProvider)authStateProvider;
|
var cauthStateProvder = (CustomAuthenticationStateProvider)authStateProvider;
|
||||||
var user = await cauthStateProvder.GetAuthenticationStateAsync();
|
var user = await cauthStateProvder.GetAuthenticationStateAsync();
|
||||||
var usr = user.User;
|
var usr = user.User;
|
||||||
|
|
|
@ -169,9 +169,10 @@
|
||||||
toggleText = opened ? "-" : "+";
|
toggleText = opened ? "-" : "+";
|
||||||
}
|
}
|
||||||
|
|
||||||
protected override async Task OnAfterRenderAsync(bool firstRender)
|
|
||||||
|
protected override async Task OnParametersSetAsync()
|
||||||
{
|
{
|
||||||
await base.OnAfterRenderAsync(firstRender);
|
await base.OnParametersSetAsync();
|
||||||
value = TheManager.getBumpValue(post) + "v";
|
value = TheManager.getBumpValue(post) + "v";
|
||||||
string boardTag = post.Board;
|
string boardTag = post.Board;
|
||||||
var cauthStateProvder = (CustomAuthenticationStateProvider)authStateProvider;
|
var cauthStateProvder = (CustomAuthenticationStateProvider)authStateProvider;
|
||||||
|
|
|
@ -5,7 +5,7 @@
|
||||||
|
|
||||||
<div class="top-row ps-3 navbar navbar-dark">
|
<div class="top-row ps-3 navbar navbar-dark">
|
||||||
<div class="container-fluid">
|
<div class="container-fluid">
|
||||||
<a class="navbar-brand" href="">BB v0.1.9</a>
|
<a class="navbar-brand" href="">BB v0.2.2</a>
|
||||||
<AuthorizeView>
|
<AuthorizeView>
|
||||||
<Authorized>
|
<Authorized>
|
||||||
<a class="navbar-brand" @onclick="logout" href="javascript:void(0)" >[Logout]</a>
|
<a class="navbar-brand" @onclick="logout" href="javascript:void(0)" >[Logout]</a>
|
||||||
|
|
Loading…
Reference in a new issue