Skip to content

EspoCRM – Open Source CRM Application

jsdocs

Yuri Kuznetsove93f338a9e74
diff --git a/client/src/views/record/list.js b/client/src/views/record/list.js
index 9ccadb6358..6f77059c59 100644
--- a/client/src/views/record/list.js
+++ b/client/src/views/record/list.js
@@ -3210,6 +3210,10 @@ class ListRecordView extends View {
.get(0).outerHTML;
}
+ /**
+ * @protected
+ * @param {{id?: string, scope?: string}} [data]
+ */
actionQuickView(data) {
data = data || {};
@@ -3244,7 +3248,7 @@ class ListRecordView extends View {
}
if (this.quickDetailDisabled) {
- this.getRouter().navigate('#' + scope + '/view/' + id, {trigger: true});
+ this.getRouter().navigate(`#${scope}/view/${id}`, {trigger: true});
return;
}