add check to remove salt

This commit is contained in:
wh1te909
2021-01-21 23:58:31 +00:00
parent 6a7f17b2b0
commit cadab160ff
8 changed files with 60 additions and 16 deletions

View File

@@ -500,9 +500,12 @@ export default {
});
},
runPatchStatusScan(pk, hostname) {
axios.get(`/winupdate/${pk}/runupdatescan/`).then(r => {
this.notifySuccess(`Scan will be run shortly on ${hostname}`);
});
this.$axios
.get(`/winupdate/${pk}/runupdatescan/`)
.then(r => {
this.notifySuccess(`Scan will be run shortly on ${hostname}`);
})
.catch(e => this.notifyError(e.response.data));
},
installPatches(pk) {
this.$q.loading.show();