Form no longer gets cleared out

This commit is contained in:
Alex Renoki 2020-08-27 13:39:52 +03:00
parent 8baf2345bc
commit 1877819edc
1 changed files with 1 additions and 7 deletions

View File

@ -405,13 +405,7 @@
axios
.post('/event', payload)
.then(() => {
this.form = {
channel: null,
event: null,
data: null,
};
})
.then(() => {})
.catch(err => {
alert('Error sending event.');
})