Develop #8

Open
wazolab wants to merge 50 commits from develop into master
Showing only changes of commit 3290917b1c - Show all commits

View File

@@ -95,7 +95,8 @@ export default {
data() {
return {
fruit: {
color: "#000000"
color: "#000000",
isFruit: true
}
};
},
@@ -111,6 +112,7 @@ export default {
this.fruit.image = url;
},
async checkForm(e) {
this.fruit.expires = new Date(this.fruit.expires);
await this.$store
.dispatch("addFruit", this.fruit)
.then(() => this.$store.commit("toggleModal"));