Skip to content

Commit 3b93f5b

Browse files
[DURACOM-155] small fix
1 parent ec8470d commit 3b93f5b

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

src/app/collection-page/edit-collection-page/collection-metadata/collection-metadata.component.ts

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import { Component, OnInit } from '@angular/core';
1+
import { ChangeDetectorRef, Component, OnInit } from '@angular/core';
22
import { ComcolMetadataComponent } from '../../../shared/comcol/comcol-forms/edit-comcol-page/comcol-metadata/comcol-metadata.component';
33
import { Collection } from '../../../core/shared/collection.model';
44
import { CollectionDataService } from '../../../core/data/collection-data.service';
@@ -40,6 +40,7 @@ export class CollectionMetadataComponent extends ComcolMetadataComponent<Collect
4040
protected notificationsService: NotificationsService,
4141
protected translate: TranslateService,
4242
protected requestService: RequestService,
43+
protected chd: ChangeDetectorRef
4344
) {
4445
super(collectionDataService, router, route, notificationsService, translate);
4546
}
@@ -57,6 +58,7 @@ export class CollectionMetadataComponent extends ComcolMetadataComponent<Collect
5758
) {
5859
super.ngOnInit();
5960
this.initTemplateItem();
61+
this.chd.detectChanges();
6062
}
6163
});
6264
}

0 commit comments

Comments
 (0)