Skip to content

EspoCRM – Open Source CRM Application

fix missing value of entityType variable (#3523)

Usame Beşir83439e53843f
diff --git a/client/src/views/modals/related-list.js b/client/src/views/modals/related-list.js
index e965e25757..1f6e8e891f 100644
--- a/client/src/views/modals/related-list.js
+++ b/client/src/views/modals/related-list.js
@@ -253,7 +253,7 @@ class RelatedListModalView extends ModalView {
this.$header.append(
title ||
$('<span>').text(
- this.getLanguage().translate(this.link, 'links', this.entityType)
+ this.getLanguage().translate(this.link, 'links', this.scope)
)
);