Skip to content

Commit

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

0 comments on commit f740f24

Please sign in to comment.