Skip to content

Commit

Permalink
Version bump
Browse files Browse the repository at this point in the history
  • Loading branch information
QubitPi committed Dec 11, 2023
1 parent a1d235c commit 71ccdd9
Showing 1 changed file with 15 additions and 12 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,8 @@ export function DetailsPane({
vizItem,
graphStyle,
nodeInspectorWidth,
onGraphInteraction = () => undefined
onGraphInteraction = () => undefined,
showPropertiesTable = true
}: DetailsPaneProps): JSX.Element {
const [maxPropertiesCount, setMaxPropertiesCount] = useState(
DETAILS_PANE_STEP_SIZE
Expand Down Expand Up @@ -135,17 +136,19 @@ export function DetailsPane({
)
})}
</PaneHeader>
<PaneBody data-testid="viz-details-pane-body">
<PropertiesTable
isNode={vizItem.type === 'node'}
visibleProperties={visibleItemProperties}
onMoreClick={handleMorePropertiesClick}
moreStep={DETAILS_PANE_STEP_SIZE}
totalNumItems={allItemProperties.length}
nodeInspectorWidth={nodeInspectorWidth}
onGraphInteraction={onGraphInteraction}
/>
</PaneBody>
{showPropertiesTable && (
<PaneBody data-testid="viz-details-pane-body">
<PropertiesTable
isNode={vizItem.type === 'node'}
visibleProperties={visibleItemProperties}
onMoreClick={handleMorePropertiesClick}
moreStep={DETAILS_PANE_STEP_SIZE}
totalNumItems={allItemProperties.length}
nodeInspectorWidth={nodeInspectorWidth}
onGraphInteraction={onGraphInteraction}
/>
</PaneBody>
)}
</PaneWrapper>
)
}

0 comments on commit 71ccdd9

Please sign in to comment.