Possibilité de ne pas partager un album sur le fediverse
This commit is contained in:
parent
1931bd9eda
commit
3b3a4cf779
4 changed files with 33 additions and 4 deletions
|
@ -1,6 +1,8 @@
|
|||
Vue.createApp({
|
||||
data() {
|
||||
return {
|
||||
// eslint-disable-next-line no-undef
|
||||
share: canPublish,
|
||||
q: "",
|
||||
year: "",
|
||||
country: "",
|
||||
|
@ -169,7 +171,10 @@ Vue.createApp({
|
|||
this.submitting = true;
|
||||
|
||||
return axios
|
||||
.post("/api/v1/albums", this.details)
|
||||
.post("/api/v1/albums", {
|
||||
album: this.details,
|
||||
share: this.share,
|
||||
})
|
||||
.then(() => {
|
||||
window.location.href = "/ma-collection";
|
||||
})
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue