New sessions should not be accepted
This commit is contained in:
parent
24a0ed9cb8
commit
6725c58b80
2 changed files with 2 additions and 8 deletions
|
@ -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 } }) => {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue