Skip to content

EspoCRM – Open Source CRM Application

Fix createListRecordView not returning view

Yuriiea4db6b799c8
diff --git a/client/src/views/list.ts b/client/src/views/list.ts
index 8b84b392dc..fe2b32a040 100644
--- a/client/src/views/list.ts
+++ b/client/src/views/list.ts
@@ -693,6 +693,8 @@ class ListView<S extends ListViewSchema = ListViewSchema> extends MainView<S> {
await this.collection.fetch({main: true});
Ui.notify();
+
+ return view;
});
return promise as Promise<ListRecordView>;