New sessions should not be accepted

This commit is contained in:
Oliver Davies 2019-08-30 19:38:20 +01:00
parent 24a0ed9cb8
commit 6725c58b80
2 changed files with 2 additions and 8 deletions

View file

@ -37,7 +37,7 @@ export default {
errors: [],
form: {
body: '',
field_session_status: 'accepted',
field_session_status: 'submitted',
field_session_type: 'full',
title: ''
},
@ -87,8 +87,6 @@ export default {
const title = data.data.attributes.title
this.messages.push(`Session ${title} has been created.`)
this.$emit('submitted', data.data)
this.form.body = ''
this.form.title = ''
}).catch(({ response: { data } }) => {