modified the ConfigDownload class to download the config zip
This commit is contained in:
@@ -48,7 +48,7 @@ module.exports = {
|
||||
|
||||
methods: {
|
||||
backup: function() {
|
||||
document.getElementById("download-target").src = "/api/config/download";
|
||||
document.getElementById("download-target").src = "/api/config/download/"+ this.state.macros_list.map(item => item.file_name).join(",");
|
||||
},
|
||||
|
||||
restore_config: function() {
|
||||
|
||||
Reference in New Issue
Block a user