mirror of
https://github.com/DSpace/dspace-angular.git
synced 2025-10-07 01:54:15 +00:00
Form re-initialization limited to iiif enabled item.
This commit is contained in:
@@ -714,10 +714,10 @@ export class EditBitstreamPageComponent implements OnInit, OnDestroy {
|
||||
this.formModel.push(this.iiifWidthContainer);
|
||||
this.inputModels.push(this.iiifHeightModel);
|
||||
this.formModel.push(this.iiifHeightContainer);
|
||||
// re-initialize the form and detect the change.
|
||||
this.setForm();
|
||||
this.changeDetectorRef.detectChanges();
|
||||
}
|
||||
// re-initialize the form and detect the change.
|
||||
this.setForm();
|
||||
this.changeDetectorRef.detectChanges();
|
||||
});
|
||||
|
||||
this.subs.push(iiifSub);
|
||||
|
Reference in New Issue
Block a user