Skip to content

Commit

Permalink
Merged in task/main-cris/DSC-2079 (pull request DSpace#2620)
Browse files Browse the repository at this point in the history
[DSC-2079]

Approved-by: Andrea Barbasso
  • Loading branch information
vins01-4science authored and Andrea Barbasso committed Dec 16, 2024
2 parents 20e63c0 + 9568ce5 commit 8ed08ce
Showing 1 changed file with 1 addition and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -197,8 +197,7 @@ export class DsoEditMetadataComponent implements OnInit, OnDestroy {
this.dsoUpdateSubscription = observableCombineLatest([this.route.data, this.route.parent.data]).pipe(
map(([data, parentData]: [Data, Data]) => Object.assign({}, data, parentData)),
tap((data: any) => this.initDSO(data.dso.payload)),
mergeMap(() => this.retrieveDataService()),
withLatestFrom(this.getSecuritySettings()),
mergeMap(() => this.retrieveDataService().pipe(withLatestFrom(this.getSecuritySettings()))),
).subscribe(([dataService, securitySettings]: [UpdateDataService<DSpaceObject>, MetadataSecurityConfiguration]) => {
this.securitySettings$.next(securitySettings);
this.initDataService(dataService);
Expand Down

0 comments on commit 8ed08ce

Please sign in to comment.