Skip to content

Commit 63f0915

Browse files
No need to expand errors in logs
1 parent 87fe08e commit 63f0915

File tree

1 file changed

+1
-5
lines changed

1 file changed

+1
-5
lines changed

app/client/src/components/editorComponents/Debugger/DebuggerLogs.tsx

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -96,16 +96,12 @@ function DebbuggerLogs(props: Props) {
9696
) : (
9797
paginatedData.map((log, index: number) => {
9898
const logItemProps = getLogItemProps(log);
99-
// Expand the last log and errors by default
100-
const expand =
101-
index === paginatedData.length - 1 ||
102-
log.severity === Severity.ERROR;
10399

104100
return (
105101
<LogItem
106102
key={`debugger-${index}`}
107103
{...logItemProps}
108-
expand={expand}
104+
expand={index === paginatedData.length - 1}
109105
/>
110106
);
111107
})

0 commit comments

Comments
 (0)