mirror of
https://github.com/DSpace/dspace-angular.git
synced 2025-10-07 18:14:17 +00:00
fix linting issues
This commit is contained in:
@@ -126,9 +126,8 @@ export const getFirstOccurrence = () =>
|
||||
map((rd) => Object.assign(rd, { payload: rd.payload.page.length > 0 ? rd.payload.page[0] : undefined }))
|
||||
);
|
||||
|
||||
|
||||
export const obsLog = (logString?: string) =>
|
||||
<T>(source: Observable<T>): Observable<T> =>
|
||||
source.pipe(
|
||||
tap((t) => console.log(logString || '', t))
|
||||
);
|
||||
);
|
||||
|
Reference in New Issue
Block a user