mirror of
https://github.com/Unleash/unleash.git
synced 2025-01-25 00:07:47 +01:00
fix: show segment details in targetting (#6640)
Preview (eye icon) on a segment in "targetting" when creating or editing a strategy now corectly shows details of a segment. Previously it was not showing constraints present in this segment
This commit is contained in:
parent
86f229a69d
commit
ccb067c69c
@ -72,7 +72,11 @@ export const SegmentItem: VFC<ISegmentItemProps> = ({
|
|||||||
const [isOpen, setIsOpen] = useState(isExpanded || false);
|
const [isOpen, setIsOpen] = useState(isExpanded || false);
|
||||||
|
|
||||||
return (
|
return (
|
||||||
<StyledAccordion className='segment-accordion' isDisabled={disabled}>
|
<StyledAccordion
|
||||||
|
className='segment-accordion'
|
||||||
|
isDisabled={disabled}
|
||||||
|
expanded={isOpen}
|
||||||
|
>
|
||||||
<StyledAccordionSummary id={`segment-accordion-${segment.id}`}>
|
<StyledAccordionSummary id={`segment-accordion-${segment.id}`}>
|
||||||
<DonutLarge
|
<DonutLarge
|
||||||
sx={(theme) => ({
|
sx={(theme) => ({
|
||||||
|
Loading…
Reference in New Issue
Block a user