Skip to content

Commit 8ed08ce

Browse files
vins01-4scienceAndrea Barbasso
authored andcommitted
Merged in task/main-cris/DSC-2079 (pull request DSpace#2620)
[DSC-2079] Approved-by: Andrea Barbasso
2 parents 20e63c0 + 9568ce5 commit 8ed08ce

1 file changed

Lines changed: 1 addition & 2 deletions

File tree

src/app/dso-shared/dso-edit-metadata/dso-edit-metadata.component.ts

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -197,8 +197,7 @@ export class DsoEditMetadataComponent implements OnInit, OnDestroy {
197197
this.dsoUpdateSubscription = observableCombineLatest([this.route.data, this.route.parent.data]).pipe(
198198
map(([data, parentData]: [Data, Data]) => Object.assign({}, data, parentData)),
199199
tap((data: any) => this.initDSO(data.dso.payload)),
200-
mergeMap(() => this.retrieveDataService()),
201-
withLatestFrom(this.getSecuritySettings()),
200+
mergeMap(() => this.retrieveDataService().pipe(withLatestFrom(this.getSecuritySettings()))),
202201
).subscribe(([dataService, securitySettings]: [UpdateDataService<DSpaceObject>, MetadataSecurityConfiguration]) => {
203202
this.securitySettings$.next(securitySettings);
204203
this.initDataService(dataService);

0 commit comments

Comments
 (0)