added app name and version to menu
This commit is contained in:
parent
434c84ce5c
commit
ce86f2acf7
1 changed files with 7 additions and 1 deletions
|
@ -1,4 +1,5 @@
|
|||
@inject CustomAuthenticationStateProvider AuthStateProvider;
|
||||
@using System.Reflection
|
||||
@inject CustomAuthenticationStateProvider AuthStateProvider;
|
||||
@inject State State;
|
||||
<AuthorizeView>
|
||||
<Authorized>
|
||||
|
@ -42,6 +43,10 @@
|
|||
<i class="fa-solid fa-door-open"></i>
|
||||
<span>Logout</span>
|
||||
</a>
|
||||
<a class="row medium-opacity">
|
||||
<i class="fa-solid fa-circle-info tiny"></i>
|
||||
<small>@assembly.Name - @assembly.Version?.ToString()</small>
|
||||
</a>
|
||||
</menu>
|
||||
</button>
|
||||
<small class="s m address"><i class="fa-solid fa-fw fa-at tiny"></i>@State.SelectedAddressName</small>
|
||||
|
@ -76,6 +81,7 @@
|
|||
</AuthorizeView>
|
||||
|
||||
@code {
|
||||
AssemblyName assembly = Assembly.GetExecutingAssembly().GetName();
|
||||
public void changeAddress(AddressResponseData address) {
|
||||
State.SelectedAddress = address;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue