diff --git a/Shogi.UI/Pages/Home/GameBrowser.razor b/Shogi.UI/Pages/Home/GameBrowser.razor index 8ccdaf6..78a4f16 100644 --- a/Shogi.UI/Pages/Home/GameBrowser.razor +++ b/Shogi.UI/Pages/Home/GameBrowser.razor @@ -115,7 +115,13 @@ Task LoginChangedEvent_FetchSessions(LoginEventArgs args) { - if (args.User != null) + if (args.User == null) + { + joinedSessions = Array.Empty(); + otherSessions = Array.Empty(); + StateHasChanged(); + } + else { return FetchSessions(); }