From 9f01ac29d0dfc77abf4f2ee6b8a25ebc966c6395 Mon Sep 17 00:00:00 2001 From: Arkadiy Asuratov Date: Tue, 19 Aug 2025 16:55:02 +0200 Subject: [PATCH] fix incorrect parent setting in compose modal --- client/src/views/fields/email.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/client/src/views/fields/email.js b/client/src/views/fields/email.js index 468fab3323..3a23287d7e 100644 --- a/client/src/views/fields/email.js +++ b/client/src/views/fields/email.js @@ -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)) {