From bc51339e0c28ce1c16d267414fa8f1b0d7d9947e Mon Sep 17 00:00:00 2001 From: Daniel Supernault Date: Wed, 17 Jul 2019 20:24:06 -0600 Subject: [PATCH] Update CollectionCompose.vue component --- resources/assets/js/components/CollectionCompose.vue | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/resources/assets/js/components/CollectionCompose.vue b/resources/assets/js/components/CollectionCompose.vue index c886de5b4..462adf6e9 100644 --- a/resources/assets/js/components/CollectionCompose.vue +++ b/resources/assets/js/components/CollectionCompose.vue @@ -221,7 +221,11 @@ export default { }, publish() { - axios.post('/api/local/collection/' + this.collectionId + '/publish') + axios.post('/api/local/collection/' + this.collectionId + '/publish', { + title: this.collection.title, + description: this.collection.description, + visibility: this.collection.visibility + }) .then(res => { window.location.href = res.data; });