Display new session in the sessions list straight away

This commit is contained in:
Oliver Davies 2019-06-04 22:39:55 +01:00
parent 8454dcaf73
commit c58ebd1751
2 changed files with 9 additions and 1 deletions

View file

@ -86,6 +86,8 @@ export default {
this.messages.push(`Session ${title} has been created.`)
this.errors = []
this.$emit('submitted', data.data)
this.form.body = ''
this.form.title = ''
})