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