mirror of
https://github.com/TandoorRecipes/recipes.git
synced 2026-01-05 06:08:46 -05:00
fixed mark food on hand
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user