mirror of
https://github.com/Part-DB/Part-DB-server.git
synced 2026-05-18 17:31:35 +00:00
Try if 'data' es really needed as it is not used in PartDataTable.php
This commit is contained in:
parent
c42c989831
commit
1bb943d5ce
1 changed files with 0 additions and 1 deletions
|
|
@ -152,7 +152,6 @@ class ProjectBomEntriesDataTable implements DataTableTypeInterface
|
|||
|
||||
->add('manufacturing_status', EnumColumn::class, [
|
||||
'label' => $this->translator->trans('part.table.manufacturingStatus'),
|
||||
'data' => static fn(ProjectBOMEntry $context): ?ManufacturingStatus => $context->getPart()?->getManufacturingStatus(),
|
||||
'class' => ManufacturingStatus::class,
|
||||
'render' => function (?ManufacturingStatus $status, ProjectBOMEntry $context): string {
|
||||
if ($status === null) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue