diff --git a/frontend/client/src/views/modals/detail.js b/frontend/client/src/views/modals/detail.js
index 0a3bb9f2ee..c8f5f357bd 100644
--- a/frontend/client/src/views/modals/detail.js
+++ b/frontend/client/src/views/modals/detail.js
@@ -106,7 +106,7 @@ Espo.define('Views.Modals.Detail', 'Views.Modal', function (Dep) {
this.header += ' » ' + model.get('name');
}
if (!this.fullFormDisabled) {
- this.header = '' + this.header + '';
+ this.header = '' + this.header + '';
}
if (this.editButton && this.getAcl().check(model, 'edit')) {
diff --git a/frontend/client/src/views/modals/edit.js b/frontend/client/src/views/modals/edit.js
index d7c5eb2557..16da6ae6ca 100644
--- a/frontend/client/src/views/modals/edit.js
+++ b/frontend/client/src/views/modals/edit.js
@@ -82,7 +82,7 @@ Espo.define('Views.Modals.Edit', 'Views.Modal', function (Dep) {
this.header += ' ' + this.getLanguage().translate(this.scope, 'scopeNames');
if (!this.fullFormDisabled) {
- this.header = '' + this.header + '';
+ this.header = '' + this.header + '';
}
this.waitForView('edit');