fix field error for highscore player

pull/23/head
HardiReady 2017-12-27 20:42:30 +01:00
parent c2f2d72901
commit 4c20821fc8
2 changed files with 3 additions and 3 deletions

View File

@ -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;

View File

@ -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',