Skip to content

Commit 1bb943d

Browse files
committed
Try if 'data' es really needed as it is not used in PartDataTable.php
1 parent c42c989 commit 1bb943d

1 file changed

Lines changed: 0 additions & 1 deletion

File tree

src/DataTables/ProjectBomEntriesDataTable.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -152,7 +152,6 @@ public function configure(DataTable $dataTable, array $options): void
152152

153153
->add('manufacturing_status', EnumColumn::class, [
154154
'label' => $this->translator->trans('part.table.manufacturingStatus'),
155-
'data' => static fn(ProjectBOMEntry $context): ?ManufacturingStatus => $context->getPart()?->getManufacturingStatus(),
156155
'class' => ManufacturingStatus::class,
157156
'render' => function (?ManufacturingStatus $status, ProjectBOMEntry $context): string {
158157
if ($status === null) {

0 commit comments

Comments
 (0)