Web app leaderboard done

This commit is contained in:
piratefinn 2017-11-10 18:41:35 +00:00
parent faea82d2cc
commit c4a9790eb8
5 changed files with 29 additions and 28 deletions

View file

@ -1,9 +1,9 @@
import { Component, OnInit, Input, Output, EventEmitter } from '@angular/core';
interface LeaderboardData {
seller: number;
position: number;
display_name: number,
value: number;
purchase_time: string;
}
@Component({
@ -12,7 +12,8 @@ interface LeaderboardData {
templateUrl: 'leaderboard-result.component.html',
})
export class LeaderboardResultComponent implements OnInit {
@Input() public leaderboard: leaderboardData;
@Input() public leaderboard: LeaderboardData;
@Input() public listType: string;
ngOnInit(): void {
}