diff --git a/ui/src/components/PendingTasksTable.tsx b/ui/src/components/PendingTasksTable.tsx
index a6dc657..47c4052 100644
--- a/ui/src/components/PendingTasksTable.tsx
+++ b/ui/src/components/PendingTasksTable.tsx
@@ -118,7 +118,7 @@ function Row(props: RowProps) {
{task.retried}
- {task.max_retry}
+ {task.max_retry == -1 ? "unlimited" : task.max_retry}
{!window.READ_ONLY && (
{durationBefore(task.next_process_at)}
{task.error_message}
{task.retried}
- {task.max_retry}
+ {task.max_retry == -1 ? "unlimited" : task.max_retry}
{!window.READ_ONLY && (
- {taskInfo?.retried}/{taskInfo?.max_retry}
+ {taskInfo?.retried}/{taskInfo?.max_retry == -1 ? "unlimited" : taskInfo?.max_retry}