EspoCRM – Open Source CRM Application
PHP calendarcontactscrmcrm-platformcrm-systemcustomer-portalcustomer-supportcustomizabledocumentsemail-marketingkanbanleadsopen-sourcephpplatformsales-automationsingle-page-applicationsupport
Type fix
Yurii1abb6ac7a769
diff --git a/client/src/views/record/base.ts b/client/src/views/record/base.tsindex 9e53fae1e5..d1f52b7600 100644--- a/client/src/views/record/base.ts+++ b/client/src/views/record/base.ts@@ -607,8 +607,8 @@ class BaseRecordView<S extends BaseRecordViewSchema = BaseRecordViewSchema> exte** @param name A field name.*/- getFieldView(name: string): BaseFieldView | null {- let view = this.getView<BaseFieldView>(`${name}Field`) || null;+ getFieldView(name: string): BaseFieldView<any, any> | null {+ let view = this.getView<BaseFieldView<any, any>>(`${name}Field`) || null;// @todo Remove.if (!view) {