Skip to content

EspoCRM – Open Source CRM Application

fix

Yuri Kuznetsovccb17b117001
diff --git a/client/src/views/list.js b/client/src/views/list.js
index 88201288cd..9537bfdb9e 100644
--- a/client/src/views/list.js
+++ b/client/src/views/list.js
@@ -807,7 +807,7 @@ class ListView extends MainView {
const helper = new RecordModal();
- helper.showCreate(this, {
+ return helper.showCreate(this, {
entityType: this.scope,
attributes: attributes,
rootUrl: this.keepCurrentRootUrl ? this.getRouter().getCurrentUrl() : undefined,