@@ -13,7 +13,7 @@ import {
1313import { Collection } from '../../core/shared/collection.model' ;
1414import { ComColFormComponent } from '../../shared/comcol/comcol-forms/comcol-form/comcol-form.component' ;
1515import { NotificationsService } from '../../shared/notifications/notifications.service' ;
16- import { CommunityDataService } from '../../core/data/community -data.service' ;
16+ import { CollectionDataService } from '../../core/data/collection -data.service' ;
1717import { AuthService } from '../../core/auth/auth.service' ;
1818import { RequestService } from '../../core/data/request.service' ;
1919import { ObjectCacheService } from '../../core/cache/object-cache.service' ;
@@ -34,7 +34,7 @@ import { SubmissionDefinitionsConfigDataService } from '../../core/config/submis
3434import { ConfigObject } from '../../core/config/models/config.model' ;
3535import { NONE_ENTITY_TYPE } from '../../core/shared/item-relationships/item-type.resource-type' ;
3636import { hasNoValue , isNotNull } from 'src/app/shared/empty.util' ;
37-
37+ import { NgbModal } from '@ng-bootstrap/ng-bootstrap' ;
3838
3939/**
4040 * Form used for creating and editing collections
@@ -85,13 +85,14 @@ export class CollectionFormComponent extends ComColFormComponent<Collection> imp
8585 protected translate : TranslateService ,
8686 protected notificationsService : NotificationsService ,
8787 protected authService : AuthService ,
88- protected dsoService : CommunityDataService ,
88+ protected dsoService : CollectionDataService ,
8989 protected requestService : RequestService ,
9090 protected objectCache : ObjectCacheService ,
9191 protected entityTypeService : EntityTypeDataService ,
9292 protected chd : ChangeDetectorRef ,
93+ protected modalService : NgbModal ,
9394 protected submissionDefinitionService : SubmissionDefinitionsConfigDataService ) {
94- super ( formService , translate , notificationsService , authService , requestService , objectCache ) ;
95+ super ( formService , translate , notificationsService , authService , requestService , objectCache , modalService ) ;
9596 }
9697
9798 ngOnInit ( ) : void {
0 commit comments