mirror of
https://github.com/Part-DB/Part-DB-server.git
synced 2025-06-27 04:08:57 +02:00
Dont show SI prefix selector for parts without a MeasurementUnit
This commit is contained in:
parent
d32ced7547
commit
fcfab982a8
1 changed files with 1 additions and 1 deletions
|
@ -64,7 +64,7 @@ class SIUnitType extends AbstractType implements DataMapperInterface
|
|||
$unit = $options['measurement_unit'];
|
||||
return $unit->isUseSIPrefix();
|
||||
}
|
||||
return true;
|
||||
return false;
|
||||
},
|
||||
'is_integer' => function (Options $options) {
|
||||
if ($options['measurement_unit'] !== null) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue