Skip to content
Merged

PD-5416 #2828

Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 10 additions & 1 deletion src/app/core/record/record.service.ts
Original file line number Diff line number Diff line change
Expand Up @@ -155,7 +155,16 @@ export class RecordService {
.getFeaturedWorks(options)
.pipe(startWith(<Object>undefined)),
this.getLastModifiedTime(options).pipe(startWith(<Object>undefined)),
this._userInfo.getUserInfo(options).pipe(startWith(<Object>undefined)),
this._userInfo.getUserInfo(options).pipe(
catchError((error) => {
// For public records, a failing auth userInfo request must not block page rendering.
if (options?.publicRecordId) {
return of(null)
}
return this._errorHandler.handleError(error)
}),
startWith(<Object>undefined)
),
])
.pipe(
tap(
Expand Down
Loading