forked from dbroqua/MusicTopus
Version 1.4 (#67)
Co-authored-by: dbroqua <contact@darkou.fr> Reviewed-on: https://git.darkou.fr/dbroqua/MusicTopus/pulls/67
This commit is contained in:
parent
d03394bee7
commit
1d59ee3b71
22 changed files with 1067 additions and 934 deletions
16
javascripts/mon-compte/ma-collection/exporter.js
Normal file
16
javascripts/mon-compte/ma-collection/exporter.js
Normal file
|
@ -0,0 +1,16 @@
|
|||
Vue.createApp({
|
||||
data() {
|
||||
return {
|
||||
format: "xml",
|
||||
};
|
||||
},
|
||||
created() {},
|
||||
destroyed() {},
|
||||
methods: {
|
||||
exportCollection(event) {
|
||||
event.preventDefault();
|
||||
|
||||
window.open(`/api/v1/albums?exportFormat=${this.format}`, "_blank");
|
||||
},
|
||||
},
|
||||
}).mount("#exporter");
|
Loading…
Add table
Add a link
Reference in a new issue