Skip to content

EspoCRM – Open Source CRM Application

fix tree list view open link

Yuri Kuznetsov845a50a99fec
diff --git a/client/src/collections/tree.js b/client/src/collections/tree.js
index 8e6a9c46b6..437dcd0520 100644
--- a/client/src/collections/tree.js
+++ b/client/src/collections/tree.js
@@ -112,6 +112,15 @@ class TreeCollection extends Collection {
return super.fetch(options);
}
+
+ clone(options = {}) {
+ options = {...options};
+
+ // Prevents recurring clone.
+ options.withModels = false;
+
+ return super.clone(options);
+ }
}
export default TreeCollection;