auto format everything

This commit is contained in:
wh1te909
2020-05-14 06:34:27 +00:00
parent 985947f30e
commit 3af4071219
66 changed files with 622 additions and 858 deletions

View File

@@ -207,15 +207,16 @@ export default {
});
},
downloadScript() {
axios.get(`/checks/downloadscript/${this.selectedRow}/`, { responseType: 'blob' })
axios
.get(`/checks/downloadscript/${this.selectedRow}/`, { responseType: "blob" })
.then(({ data }) => {
const blob = new Blob([data], { type: 'text/plain' })
let link = document.createElement('a')
link.href = window.URL.createObjectURL(blob)
link.download = this.filename
link.click()
const blob = new Blob([data], { type: "text/plain" });
let link = document.createElement("a");
link.href = window.URL.createObjectURL(blob);
link.download = this.filename;
link.click();
})
.catch(error => console.error(error))
.catch(error => console.error(error));
}
},
computed: {