Skip to content

Commit

Permalink
consolidate file ID into FileDetailsPanel table
Browse files Browse the repository at this point in the history
  • Loading branch information
quinnwai committed Aug 15, 2024
1 parent 189687e commit f98c4a0
Showing 1 changed file with 11 additions and 4 deletions.
15 changes: 11 additions & 4 deletions packages/sampleCommons/src/lib/CohortBuilder/FileDetailsPanel.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -121,17 +121,24 @@ export const FileDetailsPanel = ({
return (
<Stack>
<LoadingOverlay visible={isLoading} />
<Text color="primary.4">
{tableConfig.detailsConfig.nodeType} id {id} data:
</Text>
<Table withBorder withColumnBorders>
<thead>
<tr>
<th>Field</th>
<th>Value</th>
</tr>
</thead>
<tbody>{rows}</tbody>
<tbody>
<tr>
<td>
<Text weight="bold">{idField}</Text>
</td>
<td>
<Text>{id}</Text>
</td>
</tr>
{rows}
</tbody>
</Table>
<Group position="right">
<CopyButton value={JSON.stringify(queryData)} timeout={2000}>
Expand Down

0 comments on commit f98c4a0

Please sign in to comment.