Skip to content

Commit 753e651

Browse files
committed
fix: allow dataTreeChildIndent config to override default in name formatter
Remove premature initialisation of childIndent so the ??= fallback correctly reads dataTreeChildIndent from table options on first use.
1 parent 344ca2d commit 753e651

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

log-viewer/src/features/call-tree/components/CalltreeNameFormatter.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ import type { LogEvent, LogEventType } from 'apex-log-parser';
55
import type { CellComponent, EmptyCallback } from 'tabulator-tables';
66

77
export function createCalltreeNameFormatter(excludedTypes: Set<LogEventType>) {
8-
let childIndent: number = 9;
8+
let childIndent: number;
99

1010
return function calltreeNameFormatter(
1111
cell: CellComponent,

0 commit comments

Comments
 (0)