Skip to content

Commit

Permalink
Update other debug display
Browse files Browse the repository at this point in the history
  • Loading branch information
nguyentvan7 committed Feb 6, 2025
1 parent f9eba07 commit f4f716b
Showing 1 changed file with 24 additions and 10 deletions.
34 changes: 24 additions & 10 deletions libs/sr/page-team/src/DebugDisplay.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -47,15 +47,22 @@ export function DebugListingsDisplay() {
debug for {name}
</AccordionSummary>
<AccordionDetails>
conds:{' '}
{JSON.stringify(computed.meta.conds, undefined, 2)}
<Typography component="pre">
{JSON.stringify(
conds:
<CodeBlock
text={JSON.stringify(
computed.meta.conds,
undefined,
2
)}
/>
formula:
<CodeBlock
text={JSON.stringify(
filterDebug(calc.toDebug().compute(read).meta),
undefined,
2
)}
</Typography>
/>
</AccordionDetails>
</Accordion>
</Box>
Expand Down Expand Up @@ -83,15 +90,22 @@ export function DebugListingsDisplay() {
debug for {name}
</AccordionSummary>
<AccordionDetails>
conds:{' '}
{JSON.stringify(computed.meta.conds, undefined, 2)}
<Typography component="pre">
{JSON.stringify(
conds:
<CodeBlock
text={JSON.stringify(
computed.meta.conds,
undefined,
2
)}
/>
formula:
<CodeBlock
text={JSON.stringify(
filterDebug(calc.toDebug().compute(read).meta),
undefined,
2
)}
</Typography>
/>
</AccordionDetails>
</Accordion>
</Box>
Expand Down

0 comments on commit f4f716b

Please sign in to comment.