mirror of
https://github.com/Unleash/unleash.git
synced 2025-02-04 00:18:01 +01:00
improved dummy data
This commit is contained in:
parent
2895516dda
commit
58edd06eb0
@ -76,6 +76,29 @@ export const FeatureResultInfoPopoverCell = ({
|
|||||||
},
|
},
|
||||||
],
|
],
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
name: 'flexibleRollout',
|
||||||
|
id: 'strategy-id',
|
||||||
|
parameters: {},
|
||||||
|
result: false,
|
||||||
|
segments: [
|
||||||
|
{
|
||||||
|
result: false,
|
||||||
|
id: 6,
|
||||||
|
name: 'my-segment',
|
||||||
|
constraints: [
|
||||||
|
{
|
||||||
|
result: false,
|
||||||
|
contextName: 'appName',
|
||||||
|
operator: 'IN',
|
||||||
|
caseInsensitive: false,
|
||||||
|
inverted: false,
|
||||||
|
values: ['MyApp2'],
|
||||||
|
},
|
||||||
|
],
|
||||||
|
},
|
||||||
|
],
|
||||||
|
},
|
||||||
];
|
];
|
||||||
|
|
||||||
if (!feature) {
|
if (!feature) {
|
||||||
|
@ -60,7 +60,7 @@ export const PlaygroundResultSegmentExecution = ({
|
|||||||
if (!segments) return null;
|
if (!segments) return null;
|
||||||
return (
|
return (
|
||||||
<>
|
<>
|
||||||
{segments.map(segment => (
|
{segments.map((segment, index) => (
|
||||||
<SegmentExecutionWrapper key={segment.id}>
|
<SegmentExecutionWrapper key={segment.id}>
|
||||||
<SegmentExecutionHeader>
|
<SegmentExecutionHeader>
|
||||||
<SegmentExecutionLinkWrapper>
|
<SegmentExecutionLinkWrapper>
|
||||||
@ -95,7 +95,10 @@ export const PlaygroundResultSegmentExecution = ({
|
|||||||
constraints={segment.constraints}
|
constraints={segment.constraints}
|
||||||
/>
|
/>
|
||||||
</SegmentExecutionConstraintWrapper>
|
</SegmentExecutionConstraintWrapper>
|
||||||
<StrategySeparator text="AND" sx={{ pt: 1 }} />
|
<ConditionallyRender
|
||||||
|
condition={index < segments?.length -1}
|
||||||
|
show={<StrategySeparator text="AND" sx={{ pt: 1 }} />}
|
||||||
|
/>
|
||||||
</SegmentExecutionWrapper>
|
</SegmentExecutionWrapper>
|
||||||
))}
|
))}
|
||||||
</>
|
</>
|
||||||
|
Loading…
Reference in New Issue
Block a user