Form re-initialization limited to iiif enabled item.

This commit is contained in:
Michael Spalti
2022-01-27 18:56:34 -08:00
parent 7c5d31fbbd
commit 8bfd6ca031

View File

@@ -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();
}
});
this.subs.push(iiifSub);