fix: i hate clonage thing

This commit is contained in:
Matthieu Bessat 2020-08-03 20:02:51 +02:00
parent b7688c3daf
commit ee02257362

View file

@ -163,7 +163,7 @@ export default {
}, },
openAddModal () { openAddModal () {
this.mode = 'add' this.mode = 'add'
this.item = this.defaultItem this.item = Object.assign({}, this.defaultItem)
this.itemModal = true this.itemModal = true
}, },
save () { save () {