fixed mark food on hand

This commit is contained in:
vabene1111 2023-01-27 15:48:33 +01:00
parent 90e389f2fa
commit 33448c98c0

View File

@ -1205,7 +1205,7 @@ export default {
let api = new ApiApiFactory()
if (field) {
// assume if field is changing it should no longer be inherited
food.inherit_fields = food.inherit_fields.filter((x) => x.field !== field)
food.inherit_fields = food.inherit_fields?.filter((x) => x.field !== field)
}
return api