fix bug in units

main v0.0.3
DustyP 4 years ago
parent 1f99413f22
commit 86b9a00036

@ -124,7 +124,7 @@ export default {
name: "",
description: "",
size: null,
unit: "",
unit: null,
units: [
{ value: 0, text: "Teaspoon" },
{ value: 1, text: "Tablespoon" },
@ -191,7 +191,7 @@ export default {
name: this.name,
description: this.description,
size: this.size,
unit: this.unit.id,
unit: this.unit,
location: {"id": this.location},
barcode: this.barcode,
};

Loading…
Cancel
Save