EspoCRM – Open Source CRM Application
PHP calendarcontactscrmcrm-platformcrm-systemcustomer-portalcustomer-supportcustomizabledocumentsemail-marketingkanbanleadsopen-sourcephpplatformsales-automationsingle-page-applicationsupport
manage category no url param
Yuri Kuznetsov86a77a321df0
diff --git a/client/src/views/list-with-categories.js b/client/src/views/list-with-categories.jsindex 3775957c9d..f79ebd5e0d 100644--- a/client/src/views/list-with-categories.js+++ b/client/src/views/list-with-categories.js@@ -743,13 +743,16 @@ class ListWithCategories extends ListView {actionManageCategories() {this.clearCategoryViews();- let url =`#${this.categoryScope}`;+ const url = `#${this.categoryScope}`;++ const options = {};if (this.currentCategoryId) {- url += `/listTree/currentId=${this.currentCategoryId}`;+ options.currentId = this.currentCategoryId;}- this.getRouter().navigate(url, {trigger: true});+ this.getRouter().navigate(url, {trigger: false});+ this.getRouter().dispatch(this.categoryScope, 'listTree', options);}/**