Don't stop another session's task when the 'Stop All Tasks' button is pressed

This commit is contained in:
cmdr2 2022-10-17 17:36:20 +05:30
parent 33d3d90a93
commit 344fa729a5

View File

@ -1104,7 +1104,7 @@ async function stopAllTasks() {
}
try {
let res = await fetch('/image/stop')
let res = await fetch('/image/stop?session_id=' + sessionId)
} catch (e) {
console.log(e)
}