Skip to content

EspoCRM – Open Source CRM Application

category folders fetch on refresh

Yuri Kuznetsov0d4d4dc9ed63
diff --git a/client/src/views/list-with-categories.js b/client/src/views/list-with-categories.js
index d156a52653..dc32d09d26 100644
--- a/client/src/views/list-with-categories.js
+++ b/client/src/views/list-with-categories.js
@@ -902,6 +902,16 @@ class ListWithCategories extends ListView {
Espo.Ui.notify();
}
+
+ /**
+ * @protected
+ */
+ async actionFullRefresh() {
+ await Promise.all([
+ super.actionFullRefresh(),
+ this.nestedCategoriesCollection?.fetch(),
+ ]);
+ }
}
export default ListWithCategories;