Skip to content

Commit

Permalink
Fix published state bug in create modal
Browse files Browse the repository at this point in the history
  • Loading branch information
mazeeblanke committed Aug 30, 2020
1 parent 9ead6d5 commit 09987f8
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions frontend/js/components/modals/ModalCreate.vue
Original file line number Diff line number Diff line change
Expand Up @@ -97,6 +97,7 @@
self.$nextTick(function () {
if (submitMode === 'create-another' && self.$refs.modal) self.$refs.modal.open()
if (this.mode === 'create') this.$store.commit(DATATABLE.UPDATE_DATATABLE_PAGE, 1)
this.$store.commit(FORM.REMOVE_FORM_FIELD, 'published')
this.$emit('reload')
})
}, (errorResponse) => {
Expand Down

0 comments on commit 09987f8

Please sign in to comment.