mirror of
https://github.com/Part-DB/Part-DB-server.git
synced 2026-03-20 22:28:49 +01:00
Allow to show parts for manufacturers and footprints.
This commit is contained in:
@@ -83,7 +83,7 @@ class TreeController extends AbstractController
|
||||
if ($footprint !== null) {
|
||||
$tree[] = $builder->elementToTreeNode($footprint);
|
||||
} else {
|
||||
$tree = $builder->typeToTree(Footprint::class, null);
|
||||
$tree = $builder->typeToTree(Footprint::class);
|
||||
}
|
||||
|
||||
|
||||
@@ -115,7 +115,7 @@ class TreeController extends AbstractController
|
||||
if ($manufacturer !== null) {
|
||||
$tree[] = $builder->elementToTreeNode($manufacturer);
|
||||
} else {
|
||||
$tree = $builder->typeToTree(Manufacturer::class, null);
|
||||
$tree = $builder->typeToTree(Manufacturer::class);
|
||||
}
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user