mirror of
https://github.com/TandoorRecipes/recipes.git
synced 2026-01-01 04:10:06 -05:00
reset new list item after create
This commit is contained in:
@@ -746,7 +746,7 @@ export default {
|
||||
} else {
|
||||
console.log("no data returned")
|
||||
}
|
||||
this.new_item = { amount: 1 }
|
||||
this.new_item = { amount: 1, unit: undefined, food: undefined }
|
||||
})
|
||||
.catch((err) => {
|
||||
console.log(err)
|
||||
|
||||
Reference in New Issue
Block a user