feat: remove execution step data

This commit is contained in:
Ali BARIN
2022-10-09 09:45:59 +02:00
parent 21c16d7272
commit 48fd4a0dbe

View File

@@ -7,7 +7,7 @@ import Tabs from '@mui/material/Tabs';
import Tab from '@mui/material/Tab';
import Typography from '@mui/material/Typography';
import Box from '@mui/material/Box';
import type { IApp, IJSONObject, IExecutionStep, IStep } from '@automatisch/types';
import type { IApp, IExecutionStep, IStep } from '@automatisch/types';
import TabPanel from 'components/TabPanel';
import JSONViewer from 'components/JSONViewer';
@@ -74,7 +74,6 @@ export default function ExecutionStep(props: ExecutionStepProps): React.ReactEle
<Tab label="Data in" data-test="data-in-tab" />
<Tab label="Data out" data-test="data-out-tab" />
<Tab label="Error" data-test="error-tab" />
<Tab label="Execution step" />
</Tabs>
</Box>
@@ -89,10 +88,6 @@ export default function ExecutionStep(props: ExecutionStepProps): React.ReactEle
<TabPanel value={activeTabIndex} index={2}>
<JSONViewer data={executionStep.errorDetails} />
</TabPanel>
<TabPanel value={activeTabIndex} index={3}>
<JSONViewer data={(executionStep as unknown) as IJSONObject} />
</TabPanel>
</Content>
</Wrapper>