2
0
mirror of https://github.com/inventree/InvenTree.git synced 2025-07-03 04:00:57 +00:00

Implement sidebar for "part category" display

This commit is contained in:
Oliver
2021-10-29 00:29:09 +11:00
parent f0fe7f2d5c
commit 59acf45ab9
8 changed files with 25 additions and 173 deletions

View File

@ -273,7 +273,7 @@ function initNavTree(options) {
/**
* Enable support for sidebar on this page
*/
function enableSidebar(label, options) {
function enableSidebar(label, options={}) {
// Enable callbacks for sidebar buttons
$('.sidebar-selector').click(function() {