mirror of
https://github.com/DSpace/dspace-angular.git
synced 2025-10-13 04:53:06 +00:00
90873: issue 1380 - Added tests
This commit is contained in:
@@ -141,11 +141,11 @@ export class UploadBitstreamComponent implements OnInit, OnDestroy {
|
||||
}));
|
||||
this.selectedBundleId = this.route.snapshot.queryParams.bundle;
|
||||
if (isNotEmpty(this.selectedBundleId)) {
|
||||
this.bundleService.findById(this.selectedBundleId).pipe(
|
||||
this.subs.push(this.bundleService.findById(this.selectedBundleId).pipe(
|
||||
getFirstSucceededRemoteDataPayload()
|
||||
).subscribe((bundle: Bundle) => {
|
||||
this.selectedBundleName = bundle.name;
|
||||
});
|
||||
}));
|
||||
this.setUploadUrl();
|
||||
}
|
||||
this.subs.push(bundlesRD$.subscribe());
|
||||
|
Reference in New Issue
Block a user