From 04422b94d069c5aea846134e792c99d9326e58df Mon Sep 17 00:00:00 2001 From: Moritz Deiaco Date: Thu, 13 Jun 2024 17:30:03 +0200 Subject: [PATCH] Fixed Server & Network Counts --- .../Servers/UI/Components/Cards/UserDashboardServerCount.razor | 1 + 1 file changed, 1 insertion(+) diff --git a/Moonlight/Features/Servers/UI/Components/Cards/UserDashboardServerCount.razor b/Moonlight/Features/Servers/UI/Components/Cards/UserDashboardServerCount.razor index 056172e0..d5bb61c0 100644 --- a/Moonlight/Features/Servers/UI/Components/Cards/UserDashboardServerCount.razor +++ b/Moonlight/Features/Servers/UI/Components/Cards/UserDashboardServerCount.razor @@ -34,6 +34,7 @@ { ServerCount = await ServerRepository.Get().Where(x => x.Owner == IdentityService.CurrentUser).CountAsync(); NetworksCount = await NetworkRepository.Get().Where(x => x.User == IdentityService.CurrentUser).CountAsync(); + await InvokeAsync(StateHasChanged); } }