add kill queue function to frontend

This commit is contained in:
simon
2021-09-25 15:35:36 +07:00
parent 47020e0cfa
commit 51ec765433
6 changed files with 29 additions and 10 deletions

View File

@@ -85,6 +85,11 @@ function stopQueue() {
document.getElementById('stop-icon').remove();
}
function killQueue() {
var payload = JSON.stringify({'queue': 'kill'});
sendPost(payload);
document.getElementById('kill-icon').remove();
}
// settings page buttons
function manualImport() {