From 344fa729a51d4ed938bb237a1f30f8856bbed68c Mon Sep 17 00:00:00 2001 From: cmdr2 Date: Mon, 17 Oct 2022 17:36:20 +0530 Subject: [PATCH] Don't stop another session's task when the 'Stop All Tasks' button is pressed --- ui/media/main.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ui/media/main.js b/ui/media/main.js index 3afb8ce9..51b6152e 100644 --- a/ui/media/main.js +++ b/ui/media/main.js @@ -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) }