Compare commits
20 commits
90f47fa9d6
...
d73bebd5de
Author | SHA1 | Date | |
---|---|---|---|
d73bebd5de | |||
2c609427ec | |||
120507512d | |||
63d6b7a5a8 | |||
5ba4085e60 | |||
be02a3e163 | |||
444c2de16c | |||
8831f67f00 | |||
5a6349c5d3 | |||
a6a8b0defe | |||
4272aab643 | |||
0c4995db2b | |||
269f02c2ce | |||
b9cfdf5456 | |||
0f8462dc7c | |||
242066ada4 | |||
d13687a910 | |||
f44da341b4 | |||
55cef1128e | |||
6e38ff7ac7 |
1 changed files with 5 additions and 8 deletions
|
@ -104,18 +104,15 @@ export default {
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
methods: {
|
methods: {
|
||||||
...mapActions(['fetchShippingVouchers']),
|
...mapActions(['sendMail', 'postComment']),
|
||||||
sendMailAndClear: function () {
|
sendMailAndClear: async function () {
|
||||||
this.$emit('sendMail', this.newMail);
|
await this.sendMail(this.newMail);
|
||||||
this.newMail = "";
|
this.newMail = "";
|
||||||
},
|
},
|
||||||
addCommentAndClear: function () {
|
addCommentAndClear: async function () {
|
||||||
this.$emit('addComment', this.newComment);
|
await this.postComment(this.newComment);
|
||||||
this.newComment = "";
|
this.newComment = "";
|
||||||
}
|
}
|
||||||
},
|
|
||||||
mounted() {
|
|
||||||
this.fetchShippingVouchers();
|
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
</script>
|
</script>
|
||||||
|
|
Loading…
Add table
Reference in a new issue