manage category no url param

This commit is contained in:
Yuri Kuznetsov
2025-06-27 09:07:54 +03:00
parent 0e195c99c1
commit 86a77a321d
+6 -3
View File
@@ -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);
}
/**