Compare commits
20 commits
d73bebd5de
...
90f47fa9d6
Author | SHA1 | Date | |
---|---|---|---|
90f47fa9d6 | |||
d18fa897a0 | |||
48a0f3819c | |||
80558a241d | |||
d9729a68ff | |||
f3550d7dc0 | |||
e023f87b35 | |||
706d80c2c8 | |||
6ac300d737 | |||
737aa69024 | |||
e9c8f1049e | |||
38a24e4e06 | |||
9f5b420095 | |||
031e146499 | |||
00c01ac934 | |||
df345e36a1 | |||
43802196ca | |||
413a18a5d0 | |||
f94e2d8191 | |||
bd00f03411 |
1 changed files with 8 additions and 5 deletions
|
@ -104,15 +104,18 @@ export default {
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
methods: {
|
methods: {
|
||||||
...mapActions(['sendMail', 'postComment']),
|
...mapActions(['fetchShippingVouchers']),
|
||||||
sendMailAndClear: async function () {
|
sendMailAndClear: function () {
|
||||||
await this.sendMail(this.newMail);
|
this.$emit('sendMail', this.newMail);
|
||||||
this.newMail = "";
|
this.newMail = "";
|
||||||
},
|
},
|
||||||
addCommentAndClear: async function () {
|
addCommentAndClear: function () {
|
||||||
await this.postComment(this.newComment);
|
this.$emit('addComment', this.newComment);
|
||||||
this.newComment = "";
|
this.newComment = "";
|
||||||
}
|
}
|
||||||
|
},
|
||||||
|
mounted() {
|
||||||
|
this.fetchShippingVouchers();
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
</script>
|
</script>
|
||||||
|
|
Loading…
Add table
Reference in a new issue