diff --git a/src/data/backwardsCompatibility/updateSlaveObject.js b/src/data/backwardsCompatibility/updateSlaveObject.js index cca5878d17ecde1b7148aea2c9c430c8b4eae87b..0cc826e3bd5ac5f5f74d981b97a3081f094f3cb0 100644 --- a/src/data/backwardsCompatibility/updateSlaveObject.js +++ b/src/data/backwardsCompatibility/updateSlaveObject.js @@ -105,7 +105,7 @@ App.Update.Slave = function(slave, genepool = false) { slave.geneMods.NCS = slave.inducedNCS; delete slave.inducedNCS; } - if (slave.milkFlavor === undefined) {slave.milkFlavor = "none"} + if (slave.milkFlavor === undefined) { slave.milkFlavor = "none"; } if (slave.PCSlutContacts !== undefined) { delete slave.PCSlutContacts; } if (slave.superfetation !== undefined) { delete slave.superfetation; } if (slave.lactationDuration === undefined) {