feat: add flow app icons in execution row

This commit is contained in:
Ali BARIN
2022-08-07 14:50:16 +02:00
parent ca141b1076
commit fc681d9ebc
4 changed files with 31 additions and 4 deletions

View File

@@ -9,7 +9,8 @@ import { DateTime } from 'luxon';
import type { IExecution } from '@automatisch/types';
import * as URLS from 'config/urls';
import { CardContent, Typography } from './style';
import FlowAppIcons from 'components/FlowAppIcons';
import { Apps, CardContent, Typography } from './style';
type ExecutionRowProps = {
execution: IExecution;
@@ -26,6 +27,10 @@ export default function ExecutionRow(props: ExecutionRowProps): React.ReactEleme
<Card sx={{ mb: 1 }}>
<CardActionArea>
<CardContent>
<Apps direction="row" gap={1} sx={{gridArea:"apps"}}>
<FlowAppIcons steps={flow.steps} />
</Apps>
<Stack
justifyContent="center"
alignItems="flex-start"