Rework the UI

Fix Score
Add Kiouze CSS
Rework the tournaments API
This commit is contained in:
2022-03-22 00:14:46 +01:00
parent 3a86fdbdf4
commit 0150402ca6
17 changed files with 890 additions and 280 deletions

View File

@@ -128,6 +128,10 @@ namespace LaDOSE.Business.Provider.SmashProvider
id
}
}
},
entrant {
id,
isDisqualified
}
placement
}
@@ -161,11 +165,11 @@ namespace LaDOSE.Business.Provider.SmashProvider
}
}
var res= standings.Select(x => new Result()
var res= standings.Where(s=>s.entrant.isDisqualified != true).Select(x => new Result()
{
Tournament = tournament,
TournamentId = tournament.Id,
PlayerId = PlayerService.GetIdBySmash(x.player),
Rank = x.placement
}).ToList();