Преглед на файлове

Update CollectionCompose.vue component

Daniel Supernault преди 6 години
родител
ревизия
bc51339e0c
променени са 1 файла, в които са добавени 5 реда и са изтрити 1 реда
  1. 5 1
      resources/assets/js/components/CollectionCompose.vue

+ 5 - 1
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;
 			});