Profile Page
This commit is contained in:
@@ -16,10 +16,9 @@ namespace FoodsharingSiegen.Server.BaseClasses
|
||||
/// Gets or sets the value of the auth service (ab)
|
||||
/// </summary>
|
||||
[Inject] private AuthService? AuthService { get; set; }
|
||||
|
||||
|
||||
#endregion
|
||||
|
||||
|
||||
#region Override OnInitializedAsync
|
||||
|
||||
/// <summary>
|
||||
@@ -33,6 +32,14 @@ namespace FoodsharingSiegen.Server.BaseClasses
|
||||
|
||||
#endregion
|
||||
|
||||
/// <summary>
|
||||
/// Refreshes the state (a. beging, 21.05.2022)
|
||||
/// </summary>
|
||||
protected async Task RefreshState()
|
||||
{
|
||||
await AuthService?.RefreshState()!;
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Gets the value of the current user (ab)
|
||||
/// </summary>
|
||||
|
||||
Reference in New Issue
Block a user