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:
@ -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 }; }
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user