Skip to content

EspoCRM – Open Source CRM Application

ref

Yuri Kuznetsov7181d7196fc9
diff --git a/client/src/views/detail.js b/client/src/views/detail.js
index a715c6d632..a2c3c36f30 100644
--- a/client/src/views/detail.js
+++ b/client/src/views/detail.js
@@ -582,7 +582,7 @@ class DetailView extends MainView {
title.style.textDecoration = 'line-through';
}
- if (this.getRecordView().getMode() === 'detail') {
+ if (this.getRecordMode() === 'detail') {
title.title = this.translate('clickToRefresh', 'messages');
title.dataset.action = 'fullRefresh';
title.style.cursor = 'pointer';