pull/37/head
HardiReady 2018-06-17 12:48:08 +02:00
parent a29a39d8e0
commit 162453c894
1 changed files with 1 additions and 2 deletions

View File

@ -94,7 +94,7 @@ export class AwardUserComponent implements OnInit {
} }
deleteAwarding() { deleteAwarding() {
const checkedAwardings = this.awards.filter(award => award['checked'] == true); const checkedAwardings = this.awards.filter(award => award['checked'] === true);
if (checkedAwardings.length > 0) { if (checkedAwardings.length > 0) {
checkedAwardings.forEach(awarding => { checkedAwardings.forEach(awarding => {
@ -117,5 +117,4 @@ export class AwardUserComponent implements OnInit {
this.router.navigate(['../..'], {relativeTo: this.route}); this.router.navigate(['../..'], {relativeTo: this.route});
return false; return false;
} }
} }