Show only standalone tasks in task pages (#925)

This commit is contained in:
Kerem Yilmaz
2024-10-08 05:33:58 -07:00
committed by GitHub
parent 4ad5d43f3a
commit 4ff957df46
3 changed files with 3 additions and 0 deletions

View File

@@ -49,6 +49,7 @@ function TaskHistory() {
params.append("task_status", "terminated");
params.append("task_status", "timed_out");
params.append("task_status", "canceled");
params.append("only_standalone_tasks", "true");
return client
.get("/tasks", {

View File

@@ -26,6 +26,7 @@ function QueuedTasks() {
.get("/tasks", {
params: {
task_status: "queued",
only_standalone_tasks: "true",
},
})
.then((response) => response.data);

View File

@@ -26,6 +26,7 @@ function RunningTasks() {
.get("/tasks", {
params: {
task_status: "running",
only_standalone_tasks: "true",
},
})
.then((response) => response.data);