diff --git a/FrontEnd/src/app/groups/ranking/ranking.component.html b/FrontEnd/src/app/groups/ranking/ranking.component.html index 76b7ff6..d4432b2 100644 --- a/FrontEnd/src/app/groups/ranking/ranking.component.html +++ b/FrontEnd/src/app/groups/ranking/ranking.component.html @@ -15,6 +15,12 @@ Ranking testów +
+
+ +
+
+
{ + this.rankingSubscription = this.groupService.getGlobalRanking(this.id).subscribe(data => { this.data = data.sort((a, b) => { if (a.points > b.points) { return -1; @@ -143,7 +149,7 @@ export class RankingComponent implements OnInit, OnDestroy { showOnlyTestsRanking(): void { this.typeOfRankingToDisplay = RankingType.test; - this.rankingSubscription = this.groupService.getTestsRanking(this.group.id).subscribe(data => { + this.rankingSubscription = this.groupService.getTestsRanking(this.id).subscribe(data => { this.data = data.sort((a, b) => { if (a.points > b.points) { return -1; diff --git a/FrontEnd/src/app/groups/tests-in-group-results/tests-in-group-results.component.html b/FrontEnd/src/app/groups/tests-in-group-results/tests-in-group-results.component.html index 41b0b55..11ee87a 100644 --- a/FrontEnd/src/app/groups/tests-in-group-results/tests-in-group-results.component.html +++ b/FrontEnd/src/app/groups/tests-in-group-results/tests-in-group-results.component.html @@ -15,7 +15,7 @@

Wybrany test: {{selectedTest.title}}


- +