From 162453c894ef86d793662b31b077048f417f925c Mon Sep 17 00:00:00 2001 From: HardiReady Date: Sun, 17 Jun 2018 12:48:08 +0200 Subject: [PATCH] Fix lint --- static/src/app/users/award-user/award-user.component.ts | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/static/src/app/users/award-user/award-user.component.ts b/static/src/app/users/award-user/award-user.component.ts index 14f230d..37fe524 100644 --- a/static/src/app/users/award-user/award-user.component.ts +++ b/static/src/app/users/award-user/award-user.component.ts @@ -94,7 +94,7 @@ export class AwardUserComponent implements OnInit { } deleteAwarding() { - const checkedAwardings = this.awards.filter(award => award['checked'] == true); + const checkedAwardings = this.awards.filter(award => award['checked'] === true); if (checkedAwardings.length > 0) { checkedAwardings.forEach(awarding => { @@ -117,5 +117,4 @@ export class AwardUserComponent implements OnInit { this.router.navigate(['../..'], {relativeTo: this.route}); return false; } - }