diff --git a/app/app/heroes.component.ts b/app/app/heroes.component.ts index 1802162..5bce16c 100755 --- a/app/app/heroes.component.ts +++ b/app/app/heroes.component.ts @@ -18,7 +18,7 @@ export class HeroesComponent implements OnInit { var self = this; this.players = []; this.dataRef.orderByChild("score").limitToLast(10).on("child_added", function(snapshot) { - self.players.unshift(snapshot.val()); + self.players.push(snapshot.val()); }); } ngOnInit() {