Skip to content

Commit

Permalink
Merge branch 'master' into master
Browse files Browse the repository at this point in the history
  • Loading branch information
jsonporter committed May 31, 2024
2 parents 508c244 + c74e22e commit 02a5543
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 02a5543

Please sign in to comment.