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 axios
.post('/event', payload) .post('/event', payload)
.then(() => { .then(() => {})
this.form = {
channel: null,
event: null,
data: null,
};
})
.catch(err => { .catch(err => {
alert('Error sending event.'); alert('Error sending event.');
}) })