Fix: Login deleting old clients was conflicting with login history
Chore: Moved to angular linting using the recommended plugins / settings
This commit is contained in:
@@ -19,10 +19,8 @@ export class DaybookService {
|
||||
list(startDate: string | null, finishDate: string | null): Observable<Daybook> {
|
||||
const startDateWithSlash = startDate ? `/${startDate}` : '';
|
||||
const finishDateWithSlash = finishDate ? `/${finishDate}` : '';
|
||||
return <Observable<Daybook>>(
|
||||
this.http
|
||||
.get<Daybook>(`${url}${startDateWithSlash}${finishDateWithSlash}`)
|
||||
.pipe(catchError(this.log.handleError(serviceName, 'list')))
|
||||
);
|
||||
return this.http
|
||||
.get<Daybook>(`${url}${startDateWithSlash}${finishDateWithSlash}`)
|
||||
.pipe(catchError(this.log.handleError(serviceName, 'list'))) as Observable<Daybook>;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user