Skip to content

Commit

Permalink
feat: segment constraints in UI (#4472)
Browse files Browse the repository at this point in the history
  • Loading branch information
sjaanus authored Aug 10, 2023
1 parent 46314d2 commit 0e4485d
Showing 1 changed file with 5 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ import {
} from 'component/changeRequest/changeRequest.types';
import { useSegment } from 'hooks/api/getters/useSegment/useSegment';
import { SegmentDiff, SegmentTooltipLink } from '../../SegmentTooltipLink';
import { ConstraintAccordionList } from 'component/common/ConstraintAccordion/ConstraintAccordionList/ConstraintAccordionList';

const ChangeItemCreateEditWrapper = styled(Box)(({ theme }) => ({
display: 'grid',
Expand Down Expand Up @@ -87,6 +88,10 @@ export const SegmentChangeDetails: VFC<{
</ChangeItemInfo>
<div>{actions}</div>
</ChangeItemCreateEditWrapper>
<ConstraintAccordionList
constraints={change.payload.constraints}
showLabel={false}
/>
</>
)}
</SegmentContainer>
Expand Down

0 comments on commit 0e4485d

Please sign in to comment.