2
0
mirror of https://github.com/inventree/InvenTree.git synced 2025-06-18 13:05:42 +00:00

make url simpler

This commit is contained in:
Matthias
2021-12-06 22:37:42 +01:00
parent 8e425e67a1
commit c703f9993f
2 changed files with 2 additions and 2 deletions

View File

@ -152,7 +152,7 @@ function enableSidebar(label, options={}) {
$('#tree').jstree({
'core' : {
'data' : {
'url' : '/api/part/category/tree/root/',
'url' : '/api/part/category/tree/',
'data' : function (node) { return { 'id' : node.id }; }
}
}