Files
openfoodnetwork/app/assets/javascripts/admin
Jean-Baptiste Bellet 86cba6e904 Remove trailing .0 from variant unit scale
- As VariantUnitManager.variantUnitOptions() returns array formatted like this: `"Weight (g)", "weight_1"` and `product.variant_unit_scale` is formatted like this `weight_1.0` there is no possible match for the <select /> element
 - So, remove the trailing `.0` from `product.variant_unit_scale` to match the options
2021-04-14 16:17:17 +02:00
..
2021-02-08 22:09:06 +01:00
2018-01-17 12:03:27 +11:00
2021-03-27 11:21:18 -07:00
2021-03-27 11:21:18 -07:00
2021-03-27 11:21:18 -07:00
2021-03-27 11:21:18 -07:00
2021-03-27 11:21:18 -07:00
2020-05-16 14:19:25 +01:00
2021-02-08 22:09:06 +01:00
2021-04-08 12:37:17 +01:00
2021-03-27 11:21:18 -07:00
2021-03-27 11:21:18 -07:00