1
0
Fork 1
mirror of https://github.com/pixelfed/pixelfed.git synced 2024-12-23 16:24:29 +00:00

Update CollectionCompose.vue component

This commit is contained in:
Daniel Supernault 2019-07-17 20:24:06 -06:00
parent a86a1ae401
commit bc51339e0c
No known key found for this signature in database
GPG key ID: 0DEF1C662C9033F7

View file

@ -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;
});