Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
shahzad31 committed Jan 4, 2023
1 parent f740f24 commit 0571539
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -81,13 +81,13 @@ export const StepTabs = ({
{step?.synthetics?.payload?.source}
</EuiCodeBlock>
);
case 'stackTrace':
case 'console':
return (
<EuiCodeBlock isCopyable={true} overflowHeight="200px" language="javascript">
{getBrowserConsoles(1)?.join('\n')}
</EuiCodeBlock>
);
case 'console':
case 'stackTrace':
return (
<EuiCodeBlock isCopyable={true} overflowHeight="200px" language="html">
{step?.synthetics?.error?.stack}
Expand Down

0 comments on commit 0571539

Please sign in to comment.