mirror of
https://github.com/Part-DB/Part-DB-server.git
synced 2025-06-21 09:35:49 +02:00
Allow to show parts for manufacturers and footprints.
This commit is contained in:
parent
8dc9c7b9ae
commit
c3fd325645
10 changed files with 126 additions and 46 deletions
|
@ -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);
|
||||
}
|
||||
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue