File tree Expand file tree Collapse file tree 2 files changed +5
-2
lines changed
Sidekick.Common.Ui/Errors
Sidekick.Modules.Wealth/Tabs Expand file tree Collapse file tree 2 files changed +5
-2
lines changed Original file line number Diff line number Diff line change 3838 </ErrorContent >
3939</LoggingErrorBoundary >
4040
41- @inject ICurrentView CurrentView
42-
4341@code {
4442
4543 /// <summary >
Original file line number Diff line number Diff line change 11@using Microsoft .EntityFrameworkCore
2+ @using Sidekick .Apis .Poe .Account .Authentication
23@using Sidekick .Apis .Poe .Account .Stash
34@using Sidekick .Apis .Poe .Account .Stash .Models
45@using Sidekick .Common .Ui .Popovers
7576@inject IStashService StashService
7677@inject DbContextOptions <SidekickDbContext > DbContextOptions
7778@inject WealthProvider WealthProvider
79+ @inject IAuthenticationService AuthenticationService
7880
7981@code {
8082
105107
106108 private async Task Refresh ()
107109 {
110+ var state = await AuthenticationService .GetCurrentState ();
111+ if (state != AuthenticationState .Authenticated ) return ;
112+
108113 Loading = true ;
109114 StateHasChanged ();
110115
You can’t perform that action at this time.
0 commit comments