From 3bcf7c040bfbebc5343c55dcc3c351eafaca7bc9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?S=C3=A9bastien=20Tainon?= Date: Fri, 26 Apr 2024 17:26:50 +0200 Subject: [PATCH] Add handling arrays in debug lib --- frontend/task/libs/debug/DebugLibView.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/frontend/task/libs/debug/DebugLibView.tsx b/frontend/task/libs/debug/DebugLibView.tsx index 7ee24d01b..cdeb115bd 100644 --- a/frontend/task/libs/debug/DebugLibView.tsx +++ b/frontend/task/libs/debug/DebugLibView.tsx @@ -21,7 +21,7 @@ export function DebugLibView() { {taskState?.linesLogged.map((line, lineIndex) =>
- {line} + {Array.isArray(line) ? `[${line.join(', ')}]` : line}
)}