diff --git a/vuejs/src/App.vue b/vuejs/src/App.vue
index ba572d9..d69ef3a 100644
--- a/vuejs/src/App.vue
+++ b/vuejs/src/App.vue
@@ -2,7 +2,7 @@
@@ -46,10 +46,6 @@ export default {
},
methods: {
- addSession (session) {
- this.sessions.push(session)
- },
-
getSaveStateConfig () {
return {
cacheKey: 'app'
diff --git a/vuejs/src/components/SessionForm.vue b/vuejs/src/components/SessionForm.vue
index 22c99a3..ed92e44 100644
--- a/vuejs/src/components/SessionForm.vue
+++ b/vuejs/src/components/SessionForm.vue
@@ -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 } }) => {