Skip to content

Commit

Permalink
Merge pull request #2596 from 4Science/fix-submission-cache-bug
Browse files Browse the repository at this point in the history
Fix cache issue when depositing a submission
  • Loading branch information
tdonohue authored Nov 9, 2023
2 parents 7cf26e4 + f992ff6 commit f116bdf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/app/submission/objects/submission-objects.effects.ts
Original file line number Diff line number Diff line change
Expand Up @@ -210,7 +210,7 @@ export class SubmissionObjectEffects {
action.payload.submissionId,
'sections') as Observable<SubmissionObject[]>;
} else {
response$ = this.submissionObjectService.findById(action.payload.submissionId, false, true).pipe(
response$ = this.submissionObjectService.findById(action.payload.submissionId, false, true, followLink('item'), followLink('collection')).pipe(
getFirstSucceededRemoteDataPayload(),
map((submissionObject: SubmissionObject) => [submissionObject])
);
Expand Down

0 comments on commit f116bdf

Please sign in to comment.