Skip to content

Commit

Permalink
feat: Add schedules to entity details (#879)
Browse files Browse the repository at this point in the history
feat:Add schedules to entity details

Signed-off-by: Jason Porter <[email protected]>
  • Loading branch information
jsonporter committed May 31, 2024
1 parent e179b51 commit c74e22e
Showing 1 changed file with 8 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@ import { EntityExecutions } from './EntityExecutions';
import { EntityVersions } from './EntityVersions';
import { executionFilterGenerator } from './generators';
import { executionSortFields } from '../../models/Execution/constants';
import { EntitySchedules } from './EntitySchedules';

const EntityDetailsContainer = styled(Grid)(({ theme }) => ({
minHeight: '100vh',
Expand Down Expand Up @@ -123,12 +124,18 @@ export const EntityDetails: React.FC<EntityDetailsProps> = ({ id }) => {
paddingRight: (theme) => theme.spacing(2),
}}
>
{sections.description && (
{!!sections.description && (
<Grid item xs={12}>
<EntityDescription id={id} />
</Grid>
)}

{!!sections.schedules && (
<Grid item xs={12}>
<EntitySchedules id={id} />
</Grid>
)}

{!!sections.inputs && (
<Grid item xs={12}>
<EntityInputs id={id} />
Expand Down

0 comments on commit c74e22e

Please sign in to comment.