Skip to content

Commit

Permalink
fix trace list home page
Browse files Browse the repository at this point in the history
  • Loading branch information
NikhilShahi committed Sep 27, 2022
1 parent cbdc94c commit dc30a64
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 2 deletions.
12 changes: 11 additions & 1 deletion frontend/src/components/Endpoint/TraceList.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -191,7 +191,17 @@ const TraceList: React.FC<TraceListProps> = React.memo(({ traces, uuid }) => {
{tracePanel}
</SplitPane>
) : (
tablePanel
<Box
display="flex"
flex={1}
height="100%"
position="absolute"
outline="none"
overflow="hidden"
w="full"
>
{tablePanel}
</Box>
)}
</Box>
)
Expand Down
2 changes: 1 addition & 1 deletion frontend/src/components/Home/TopEndpoints.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,7 @@ const TopEndpoints: React.FC<TopEndpointProps> = React.memo(
selectedEndpoint={selectedEndpoint}
/>
</Box>
<Box flexGrow="1" h="full" overflow="scroll">
<Box flexGrow="1" h="full">
<TraceList traces={endpoint ? endpoint.traces : []} />
</Box>
</HStack>
Expand Down

0 comments on commit dc30a64

Please sign in to comment.