fix field error for highscore player
parent
c2f2d72901
commit
4c20821fc8
|
@ -19,6 +19,7 @@ export interface User {
|
|||
|
||||
export interface Player {
|
||||
_id?: string;
|
||||
num?: string; // ranking number for high score
|
||||
fraction?: string;
|
||||
name?: string;
|
||||
warId?: War;
|
||||
|
|
|
@ -5,6 +5,7 @@ import {CampaignService} from "../../services/logs/campaign.service";
|
|||
import {Fraction} from "../../utils/fraction.enum";
|
||||
import {FormControl} from "@angular/forms";
|
||||
import {Observable} from "rxjs/Observable";
|
||||
import {Player} from "../../models/model-interfaces";
|
||||
|
||||
|
||||
@Component({
|
||||
|
@ -21,7 +22,7 @@ export class StatisticHighScoreComponent {
|
|||
|
||||
searchTerm = new FormControl();
|
||||
|
||||
players = {};
|
||||
players : Player = {};
|
||||
|
||||
playersStored = {};
|
||||
|
||||
|
@ -35,8 +36,6 @@ export class StatisticHighScoreComponent {
|
|||
|
||||
emptyMessage = {emptyMessage: 'Keine Einträge'};
|
||||
|
||||
reorderable = false;
|
||||
|
||||
customClasses = {
|
||||
sortAscending: 'glyphicon glyphicon-triangle-top',
|
||||
sortDescending: 'glyphicon glyphicon-triangle-bottom',
|
||||
|
|
Loading…
Reference in New Issue