diff --git a/Components/Layout/AvatarMenu.razor b/Components/Layout/AvatarMenu.razor index c334f0c..c90ce6e 100644 --- a/Components/Layout/AvatarMenu.razor +++ b/Components/Layout/AvatarMenu.razor @@ -1,4 +1,5 @@ -@inject CustomAuthenticationStateProvider AuthStateProvider; +@using System.Reflection +@inject CustomAuthenticationStateProvider AuthStateProvider; @inject State State; @@ -42,6 +43,10 @@ Logout + + + @assembly.Name - @assembly.Version?.ToString() + @State.SelectedAddressName @@ -76,6 +81,7 @@ @code { + AssemblyName assembly = Assembly.GetExecutingAssembly().GetName(); public void changeAddress(AddressResponseData address) { State.SelectedAddress = address; }