Fix lint
parent
a29a39d8e0
commit
162453c894
|
@ -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;
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue