Compare commits

..

No commits in common. "6ab20db473b6582eb53b4302476a0b83a0c8c71c" and "c2822893caf2930b2aad518fed4ea3134875e286" have entirely different histories.

4 changed files with 7 additions and 15 deletions

View File

@ -42,10 +42,10 @@ const parseWarLog = (lineArray, war) => {
const VEHICLE_BLACKLIST = [
'Prowler (Unbewaffnet)', 'Prowler (Bewaffnet)', 'Hunter',
'HEMTT Transporter', 'HEMTT Transporter (abgedeckt)', 'HEMTT Sanitätsfahrzeug',
'HEMTT Transporter', 'HEMTT Transporter (abgedeckt)', 'HEMTT SanitÀtsfahrzeug',
'Remote Designator [NATO]', 'UGV Stomper',
'Qilin (Unbewaffnet)', 'Qilin (Bewaffnet)', 'Ifrit',
'Tempest-Transporter', 'Tempest-Transporter (abgedeckt)', 'Tempest Sanitätsfahrzeug',
'Tempest-Transporter', 'Tempest-Transporter (abgedeckt)', 'Tempest SanitÀtsfahrzeug',
'Remote Designator [CSAT]', 'UBF Saif',
'Quad Bike', 'HuntIR',
];

View File

@ -1,6 +1,6 @@
{
"name": "opt-cc",
"version": "1.8.2",
"version": "1.8.1",
"author": "Florian Hartwich <hardi@noarch.de>",
"private": true,
"scripts": {

View File

@ -1,4 +1,4 @@
import {Component, OnDestroy, OnInit} from '@angular/core';
import {Component, OnInit} from '@angular/core';
import {ActivatedRoute, Router} from '@angular/router';
import {Fraction} from '../../utils/fraction.enum';
@ -14,7 +14,7 @@ import {Location} from '@angular/common';
templateUrl: './decoration-overview.component.html',
styleUrls: ['./decoration-overview.component.css']
})
export class DecorationOverviewComponent implements OnInit, OnDestroy {
export class DecorationOverviewComponent implements OnInit {
decorations: Decoration[];
@ -54,10 +54,6 @@ export class DecorationOverviewComponent implements OnInit, OnDestroy {
});
};
ngOnDestroy() {
this.bottomSheet.dismiss();
}
switchFraction(value: any) {
this.medals = this.decorations.filter(d => d.fraction === value && d.isMedal);
this.ribbons = this.decorations.filter(d => d.fraction === value && !d.isMedal);

View File

@ -1,4 +1,4 @@
import {Component, OnDestroy, OnInit} from '@angular/core';
import {Component, OnInit} from '@angular/core';
import {ActivatedRoute, Router} from '@angular/router';
import {Fraction} from '../../utils/fraction.enum';
import {Rank} from '../../models/model-interfaces';
@ -12,7 +12,7 @@ import {UserListSheetComponent} from '../user-list-sheet/user-list-sheet.compone
templateUrl: './rank-overview.component.html',
styleUrls: ['./rank-overview.component.css']
})
export class RankOverviewComponent implements OnInit, OnDestroy {
export class RankOverviewComponent implements OnInit {
ranksOpfor: Rank[];
@ -37,10 +37,6 @@ export class RankOverviewComponent implements OnInit, OnDestroy {
});
};
ngOnDestroy() {
this.bottomSheet.dismiss();
}
selectRow(rank: Rank) {
this.bottomSheet.open(UserListSheetComponent, {data: {rank: rank}});
}