Skip to content

Commit

Permalink
Disable subrow indicators for the topmost row for now
Browse files Browse the repository at this point in the history
  • Loading branch information
wolmir committed Jul 12, 2022
1 parent 4ffb1ee commit 6f0e69f
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion webview/src/experiments/components/table/Row.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -324,6 +324,7 @@ export const RowContent: React.FC<
flatIndex,
isExpanded,
subRows,
depth,
values: { id }
} = row
const { displayColor, starred } = original
Expand Down Expand Up @@ -411,7 +412,7 @@ export const RowContent: React.FC<
bulletColor={displayColor}
starred={starred}
isRowSelected={isRowSelected}
showSubRowStates={!isExpanded}
showSubRowStates={!isExpanded && depth > 0}
subRowStates={subRowStates}
toggleExperiment={toggleExperiment}
toggleRowSelection={toggleRowSelection}
Expand Down

0 comments on commit 6f0e69f

Please sign in to comment.