Form no longer gets cleared out
This commit is contained in:
parent
8baf2345bc
commit
1877819edc
|
|
@ -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.');
|
||||||
})
|
})
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue