Skip to content

Commit e99d41a

Browse files
committed
Merge remote-tracking branch '4scienceGithub/DURACOM-248-ANGULAR-17' into DURACOM-248-ANGULAR-17
2 parents 74a53b7 + 9f75c39 commit e99d41a

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/app/core/shared/operators.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ export const DEBOUNCE_TIME_OPERATOR = new InjectionToken<<T>(dueTime: number) =>
4848

4949
export const getRemoteDataPayload = <T>() =>
5050
(source: Observable<RemoteData<T>>): Observable<T> =>
51-
source.pipe(map((remoteData: RemoteData<T>) => remoteData.payload));
51+
source.pipe(map((remoteData: RemoteData<T>) => remoteData?.payload));
5252

5353
export const getPaginatedListPayload = <T>() =>
5454
(source: Observable<PaginatedList<T>>): Observable<T[]> =>

0 commit comments

Comments
 (0)