[CST-4319] Cannot map new items with Collection Admin

This commit is contained in:
Alessandro Martelli
2021-06-24 16:24:18 +02:00
parent ddb7d5181f
commit 3795ab0495
10 changed files with 82 additions and 18 deletions

View File

@@ -7,6 +7,7 @@ import { Observable } from 'rxjs';
import { getAllSucceededRemoteDataPayload } from '../../../core/shared/operators';
import { map } from 'rxjs/operators';
import { getItemPageRoute } from '../../../+item-page/item-page-routing-paths';
import { AuthorizationDataService } from '../../../core/data/feature-authorization/authorization-data.service';
@Component({
selector: 'ds-item-select',
@@ -33,8 +34,9 @@ export class ItemSelectComponent extends ObjectSelectComponent<Item> {
[itemId: string]: string
}>;
constructor(protected objectSelectService: ObjectSelectService) {
super(objectSelectService);
constructor(protected objectSelectService: ObjectSelectService,
protected authorizationService: AuthorizationDataService ) {
super(objectSelectService, authorizationService);
}
ngOnInit(): void {