From 8859287c51a9d7ba75db8507cbbbd5f0d136a0a3 Mon Sep 17 00:00:00 2001 From: Florian Hartwich Date: Thu, 8 Mar 2018 10:17:10 +0100 Subject: [PATCH] Resolve TS Lint errors --- static/src/app/army/army.component.ts | 2 +- .../src/app/common/show-error/show-error.component.ts | 4 ++-- static/src/app/decorations/decoration.component.ts | 2 +- .../edit-decoration/edit-decoration.component.html | 10 +++++----- .../src/app/ranks/edit-rank/edit-rank.component.html | 6 +++--- static/src/app/ranks/ranks.component.ts | 2 +- static/src/app/request/request.component.ts | 2 +- .../app/squads/edit-squad/edit-squad.component.html | 6 +++--- static/src/app/squads/squads.component.ts | 2 +- .../campaign-submit/campaign-submit.component.html | 2 +- static/src/app/statistic/stats.component.ts | 2 +- .../war-detail/scoreboard/scoreboard.component.ts | 2 +- .../app/statistic/war-detail/war-detail.component.html | 4 ++-- .../app/statistic/war-submit/war-submit.component.html | 2 +- .../src/app/users/award-user/award-user.component.html | 4 ++-- .../src/app/users/edit-user/edit-user.component.html | 6 +++--- static/src/app/users/users.component.ts | 2 +- 17 files changed, 30 insertions(+), 30 deletions(-) diff --git a/static/src/app/army/army.component.ts b/static/src/app/army/army.component.ts index c0c3e00..e22ef7d 100644 --- a/static/src/app/army/army.component.ts +++ b/static/src/app/army/army.component.ts @@ -9,7 +9,7 @@ import {CSSHelpers} from '../global.helpers'; @Component({ - selector: 'army', + selector: 'cc-army', templateUrl: './army.component.html', styleUrls: ['./army.component.css'] }) diff --git a/static/src/app/common/show-error/show-error.component.ts b/static/src/app/common/show-error/show-error.component.ts index 833f9e0..9e4a6f5 100644 --- a/static/src/app/common/show-error/show-error.component.ts +++ b/static/src/app/common/show-error/show-error.component.ts @@ -12,9 +12,9 @@ import {FormGroup, NgForm} from '@angular/forms'; }) export class ShowErrorComponent { - @Input('path') controlPath; + @Input('controlPath') controlPath; - @Input('text') displayName = ''; + @Input('displayName') displayName = ''; private form: FormGroup; diff --git a/static/src/app/decorations/decoration.component.ts b/static/src/app/decorations/decoration.component.ts index 1847c31..4583001 100644 --- a/static/src/app/decorations/decoration.component.ts +++ b/static/src/app/decorations/decoration.component.ts @@ -1,7 +1,7 @@ import {Component} from '@angular/core'; @Component({ - selector: 'decorations', + selector: 'cc-decorations', templateUrl: './decoration.component.html', styleUrls: ['./decoration.component.css'] }) diff --git a/static/src/app/decorations/edit-decoration/edit-decoration.component.html b/static/src/app/decorations/edit-decoration/edit-decoration.component.html index c97369b..3852ca3 100644 --- a/static/src/app/decorations/edit-decoration/edit-decoration.component.html +++ b/static/src/app/decorations/edit-decoration/edit-decoration.component.html @@ -9,7 +9,7 @@ name="title" id="title" required maxlength="50"/> - +
@@ -21,7 +21,7 @@ - +
@@ -32,14 +32,14 @@ - +
- +
@@ -47,7 +47,7 @@ - +
diff --git a/static/src/app/ranks/edit-rank/edit-rank.component.html b/static/src/app/ranks/edit-rank/edit-rank.component.html index 2b8884e..eee7a19 100644 --- a/static/src/app/ranks/edit-rank/edit-rank.component.html +++ b/static/src/app/ranks/edit-rank/edit-rank.component.html @@ -10,7 +10,7 @@ id="title" required maxlength="50"/> - +
@@ -21,14 +21,14 @@ - +
- +
diff --git a/static/src/app/ranks/ranks.component.ts b/static/src/app/ranks/ranks.component.ts index b5c31ed..33d3b23 100644 --- a/static/src/app/ranks/ranks.component.ts +++ b/static/src/app/ranks/ranks.component.ts @@ -1,7 +1,7 @@ import {Component} from '@angular/core'; @Component({ - selector: 'ranks', + selector: 'cc-ranks', templateUrl: './ranks.component.html', styleUrls: ['./ranks.component.css'] }) diff --git a/static/src/app/request/request.component.ts b/static/src/app/request/request.component.ts index 3978613..162bce1 100644 --- a/static/src/app/request/request.component.ts +++ b/static/src/app/request/request.component.ts @@ -1,7 +1,7 @@ import {Component} from '@angular/core'; @Component({ - selector: 'request', + selector: 'cc-request', templateUrl: 'request.component.html', styleUrls: ['request.component.css'] }) diff --git a/static/src/app/squads/edit-squad/edit-squad.component.html b/static/src/app/squads/edit-squad/edit-squad.component.html index c230836..964cb42 100644 --- a/static/src/app/squads/edit-squad/edit-squad.component.html +++ b/static/src/app/squads/edit-squad/edit-squad.component.html @@ -10,7 +10,7 @@ id="title" required maxlength="50"/> - +
@@ -21,14 +21,14 @@ - +
- +
diff --git a/static/src/app/squads/squads.component.ts b/static/src/app/squads/squads.component.ts index 7fecd3e..3fc7469 100644 --- a/static/src/app/squads/squads.component.ts +++ b/static/src/app/squads/squads.component.ts @@ -1,7 +1,7 @@ import {Component} from '@angular/core'; @Component({ - selector: 'users', + selector: 'cc-users', templateUrl: './squads.component.html', styleUrls: ['./squads.component.css'] }) diff --git a/static/src/app/statistic/campaign-submit/campaign-submit.component.html b/static/src/app/statistic/campaign-submit/campaign-submit.component.html index c4b0880..771736b 100644 --- a/static/src/app/statistic/campaign-submit/campaign-submit.component.html +++ b/static/src/app/statistic/campaign-submit/campaign-submit.component.html @@ -9,7 +9,7 @@ id="title" required maxlength="50"/> - +