Skip to content

Commit

Permalink
Fix publication bug in module create modal (#732)
Browse files Browse the repository at this point in the history
* Fix published state bug in create modal

* Update distributed assets

Co-authored-by: Quentin Renard <[email protected]>
  • Loading branch information
mazeeblanke and ifox authored Mar 26, 2021
1 parent deafbef commit 7afdca7
Show file tree
Hide file tree
Showing 7 changed files with 7 additions and 6 deletions.
File renamed without changes.

Large diffs are not rendered by default.

10 changes: 5 additions & 5 deletions dist/assets/admin/twill-manifest.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,19 +12,19 @@
"Inter-Regular.woff": "/assets/admin/fonts/Inter-Regular.aebfbb3c.woff",
"Inter-Regular.woff2": "/assets/admin/fonts/Inter-Regular.bffaed79.woff2",
"chunk-common.css": "/assets/admin/css/chunk-common.68622e57.css",
"chunk-common.js": "/assets/admin/js/chunk-common.4de95c53.js",
"chunk-common.js": "/assets/admin/js/chunk-common.d50ecb75.js",
"chunk-vendors.css": "/assets/admin/css/chunk-vendors.e0f3ef32.css",
"chunk-vendors.js": "/assets/admin/js/chunk-vendors.47ab327b.js",
"icons-files.svg": "/assets/admin/icons/icons-files.3cdbddfb2725088d.svg",
"icons-wysiwyg.svg": "/assets/admin/icons/icons-wysiwyg.63f0e2d625dc615e.svg",
"icons.svg": "/assets/admin/icons/icons.0ee79e71b68bc72f.svg",
"main-buckets.css": "/assets/admin/css/main-buckets.b3760912.css",
"main-buckets.js": "/assets/admin/js/main-buckets.d5519296.js",
"main-buckets.js": "/assets/admin/js/main-buckets.cb4f97f4.js",
"main-dashboard.css": "/assets/admin/css/main-dashboard.27f5455a.css",
"main-dashboard.js": "/assets/admin/js/main-dashboard.2e800349.js",
"main-dashboard.js": "/assets/admin/js/main-dashboard.2c79836e.js",
"main-form.css": "/assets/admin/css/main-form.d15c3c53.css",
"main-form.js": "/assets/admin/js/main-form.21161c01.js",
"main-form.js": "/assets/admin/js/main-form.4a3001dd.js",
"main-free.js": "/assets/admin/js/main-free.75070804.js",
"main-listing.css": "/assets/admin/css/main-listing.98d1c455.css",
"main-listing.js": "/assets/admin/js/main-listing.a376cc84.js"
"main-listing.js": "/assets/admin/js/main-listing.0b583f53.js"
}
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 7afdca7

Please sign in to comment.