Fixed Server & Network Counts

This commit is contained in:
Moritz Deiaco
2024-06-13 17:30:03 +02:00
parent be3a5fb6c3
commit 04422b94d0

View File

@@ -34,6 +34,7 @@
{ {
ServerCount = await ServerRepository.Get().Where(x => x.Owner == IdentityService.CurrentUser).CountAsync(); ServerCount = await ServerRepository.Get().Where(x => x.Owner == IdentityService.CurrentUser).CountAsync();
NetworksCount = await NetworkRepository.Get().Where(x => x.User == IdentityService.CurrentUser).CountAsync(); NetworksCount = await NetworkRepository.Get().Where(x => x.User == IdentityService.CurrentUser).CountAsync();
await InvokeAsync(StateHasChanged);
} }
} }