Przeglądaj źródła

fixing unitpicker

Peter Holmberg 7 lat temu
rodzic
commit
13e6d2c5cb

+ 1 - 1
public/app/core/components/Select/UnitPicker.tsx

@@ -23,7 +23,7 @@ export default class UnitPicker extends PureComponent<Props> {
       const options = group.submenu.map(unit => {
       const options = group.submenu.map(unit => {
         return {
         return {
           label: unit.text,
           label: unit.text,
-          value: unit.value,
+          value: unit.id,
         };
         };
       });
       });