1
0

62849: fixed routing issues

This commit is contained in:
lotte
2019-07-23 16:51:06 +02:00
parent 1fd3b04a43
commit 170377f209
15 changed files with 150 additions and 52 deletions

View File

@@ -125,3 +125,10 @@ export const getFirstOccurrence = () =>
source.pipe(
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))
);