diff --git a/ui/src/pages/execution/Execution.jsx b/ui/src/pages/execution/Execution.jsx index 566d9d614e..4c71615696 100644 --- a/ui/src/pages/execution/Execution.jsx +++ b/ui/src/pages/execution/Execution.jsx @@ -223,22 +223,7 @@ export default function Execution() { }; const handleSelectedTask = (task) => { - if (task) { - const { taskToDomain } = execution; - let domain; - if (taskToDomain["*"]) { - domain = taskToDomain["*"]; - } else if (task.taskType) { - domain = taskToDomain[task.taskType]; - } - - setSelectedTask({ - ...task, - domain: domain, - }); - } else { - setSelectedTask(null); - } + setSelectedTask(task); }; useEffect(() => {