Chore: ng lint using the recommended @angular-eslint style
This commit is contained in:
@ -44,11 +44,11 @@ export class GuestBookListComponent implements OnInit {
|
||||
listenToDateChange(): void {
|
||||
(this.form.get('date') as FormControl).valueChanges
|
||||
.pipe(map((x) => moment(x).format('DD-MMM-YYYY')))
|
||||
.subscribe((x) => {
|
||||
return this.ser.list(x).subscribe((list: GuestBookList) => {
|
||||
.subscribe((x) =>
|
||||
this.ser.list(x).subscribe((list: GuestBookList) => {
|
||||
this.data.next(list.list);
|
||||
});
|
||||
});
|
||||
}),
|
||||
);
|
||||
}
|
||||
|
||||
ngOnInit() {
|
||||
|
||||
Reference in New Issue
Block a user