mirror of
https://github.com/Part-DB/Part-DB-server.git
synced 2026-02-28 20:39:35 +00:00
auto-generated commit message
This commit is contained in:
parent
dcfeb1b252
commit
d141e70765
1 changed files with 1 additions and 1 deletions
|
|
@ -150,7 +150,7 @@ class ProjectBomEntriesDataTable implements DataTableTypeInterface
|
||||||
->add('manufacturing_status', EnumColumn::class, [
|
->add('manufacturing_status', EnumColumn::class, [
|
||||||
'label' => $this->translator->trans('part.table.manufacturingStatus'),
|
'label' => $this->translator->trans('part.table.manufacturingStatus'),
|
||||||
'class' => ManufacturingStatus::class,
|
'class' => ManufacturingStatus::class,
|
||||||
'render' => function (?ManufacturingStatus $status, Part $context): string {
|
'render' => function (?ManufacturingStatus $status, ProjectBOMEntry $context): string {
|
||||||
if ($status === null) {
|
if ($status === null) {
|
||||||
return '';
|
return '';
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue