114596: Fixed the issue that item template page never loads

This commit is contained in:
Kuno Vercammen
2024-04-22 12:56:11 +02:00
parent 6d582cd39e
commit a7cdf2e97a

View File

@@ -24,9 +24,9 @@ import {
import {
BehaviorSubject,
combineLatest as observableCombineLatest,
EMPTY,
Observable,
Subscription,
of,
} from 'rxjs';
import {
map,
@@ -188,7 +188,7 @@ export class DsoEditMetadataComponent implements OnInit, OnDestroy {
const lazyProvider$: Observable<UpdateDataService<DSpaceObject>> = lazyDataService(this.dataServiceMap, this.dsoType, this.parentInjector);
return lazyProvider$;
} else {
return EMPTY;
return of(this.updateDataService);
}
}