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:
2020-12-08 12:09:19 +05:30
parent d5048bc455
commit 57ef355170
176 changed files with 940 additions and 831 deletions
+5 -5
View File
@@ -16,10 +16,10 @@ export class IssueGridService {
constructor(private http: HttpClient, private log: ErrorLoggerService) {}
issueGrid(date: string): Observable<IssueGridItem[]> {
return <Observable<IssueGridItem[]>>(
this.http
.get<IssueGridItem[]>(`${url}/${date}`)
.pipe(catchError(this.log.handleError(serviceName, 'autocomplete')))
);
return this.http
.get<IssueGridItem[]>(`${url}/${date}`)
.pipe(catchError(this.log.handleError(serviceName, 'autocomplete'))) as Observable<
IssueGridItem[]
>;
}
}