This commit is contained in:
Damien Broqua 2022-10-28 22:56:04 +02:00
parent 980586d8eb
commit e01f01337c
10 changed files with 450 additions and 370 deletions

View file

@ -1,18 +1,16 @@
Vue.createApp({
data() {
return {
format: 'xml',
}
},
created() {
},
destroyed() {
format: "xml",
};
},
created() {},
destroyed() {},
methods: {
exportCollection(event) {
event.preventDefault();
window.open(`/api/v1/albums?exportFormat=${this.format}`, '_blank');
}
window.open(`/api/v1/albums?exportFormat=${this.format}`, "_blank");
},
},
}).mount('#exporter');
}).mount("#exporter");