1
0
mirror of https://github.com/Unleash/unleash.git synced 2024-12-22 19:07:54 +01:00

feat: segment constraints in UI (#4472)

This commit is contained in:
Jaanus Sellin 2023-08-10 20:12:17 +03:00 committed by GitHub
parent 46314d2772
commit 0e4485d0fc
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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',
@ -87,6 +88,10 @@ export const SegmentChangeDetails: VFC<{
</ChangeItemInfo>
<div>{actions}</div>
</ChangeItemCreateEditWrapper>
<ConstraintAccordionList
constraints={change.payload.constraints}
showLabel={false}
/>
</>
)}
</SegmentContainer>