diff --git a/src/pages/task/taskTabs/logs/logTypes/TaskEventLogLine.tsx b/src/pages/task/taskTabs/logs/logTypes/TaskEventLogLine.tsx index 840e1e9597..03ef99987b 100644 --- a/src/pages/task/taskTabs/logs/logTypes/TaskEventLogLine.tsx +++ b/src/pages/task/taskTabs/logs/logTypes/TaskEventLogLine.tsx @@ -17,6 +17,9 @@ export const TaskEventLogLine: React.FC = ({ const containerOrHostCopy = podId ? "container" : "host"; let message: JSX.Element; switch (eventType) { + case TaskEventType.TaskBlocked: + message = <>Task is blocked.; + break; case TaskEventType.TaskFinished: message = ( <> diff --git a/src/types/task.ts b/src/types/task.ts index da7d39d739..2cb2ecca36 100644 --- a/src/types/task.ts +++ b/src/types/task.ts @@ -106,6 +106,7 @@ export enum TaskEventType { TaskFinished = "TASK_FINISHED", TaskStarted = "TASK_STARTED", TaskDispatched = "TASK_DISPATCHED", + TaskBlocked = "TASK_BLOCKED", TaskUndispatched = "TASK_UNDISPATCHED", TaskCreated = "TASK_CREATED", TaskRestarted = "TASK_RESTARTED",