Removed legacy aaPanel stuff

This commit is contained in:
Marcel Baumgartner
2023-04-04 18:46:42 +02:00
parent 62d4beea8c
commit 96cc8b8b97
15 changed files with 1012 additions and 423 deletions

View File

@@ -1,11 +1,9 @@
@page "/"
@using Moonlight.App.Repositories
@using Moonlight.App.Repositories.Servers
@using Microsoft.EntityFrameworkCore
@using Moonlight.App.Database.Entities
@using Moonlight.App.Services.Sessions
@inject DatabaseRepository DatabaseRepository
@inject ServerRepository ServerRepository
<LazyLoader Load="Load">
@@ -246,10 +244,7 @@
private async Task Load(LazyLoader lazyLoader)
{
DatabaseCount = DatabaseRepository
.Get()
.Include(x => x.Owner)
.Count(x => x.Owner.Id == User.Id);
DatabaseCount = 0;
ServerCount = ServerRepository
.Get()