fix incorrect parent setting in compose modal

This commit is contained in:
Arkadiy Asuratov
2025-08-19 16:55:02 +02:00
parent 6ff5640c00
commit 9f01ac29d0

View File

@@ -548,7 +548,7 @@ class EmailFieldView extends VarcharFieldView {
if (
this.model.collection &&
('patentModel' in this.model.collection) &&
('parentModel' in this.model.collection) &&
this.model.collection.parentModel
) {
if (this.checkParentTypeAvailability(this.model.collection.parentModel.entityType)) {