mirror of
https://github.com/Unleash/unleash.git
synced 2025-01-25 00:07:47 +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) {
|
||||
|
@ -60,7 +60,7 @@ export const PlaygroundResultSegmentExecution = ({
|
||||
if (!segments) return null;
|
||||
return (
|
||||
<>
|
||||
{segments.map(segment => (
|
||||
{segments.map((segment, index) => (
|
||||
<SegmentExecutionWrapper key={segment.id}>
|
||||
<SegmentExecutionHeader>
|
||||
<SegmentExecutionLinkWrapper>
|
||||
@ -95,7 +95,10 @@ export const PlaygroundResultSegmentExecution = ({
|
||||
constraints={segment.constraints}
|
||||
/>
|
||||
</SegmentExecutionConstraintWrapper>
|
||||
<StrategySeparator text="AND" sx={{ pt: 1 }} />
|
||||
<ConditionallyRender
|
||||
condition={index < segments?.length -1}
|
||||
show={<StrategySeparator text="AND" sx={{ pt: 1 }} />}
|
||||
/>
|
||||
</SegmentExecutionWrapper>
|
||||
))}
|
||||
</>
|
||||
|
Loading…
Reference in New Issue
Block a user