mirror of
https://github.com/Unleash/unleash.git
synced 2025-01-11 00:08:30 +01:00
fmt fix
This commit is contained in:
parent
ceb7d2e3cc
commit
e75f03b8f2
@ -69,7 +69,9 @@ export const PlaygroundResultStrategyExecution = ({
|
||||
/>
|
||||
<ConditionallyRender
|
||||
condition={Boolean(
|
||||
constraints && constraints.length > 0 && !hasParameters
|
||||
constraints &&
|
||||
constraints.length > 0 &&
|
||||
!hasParameters
|
||||
)}
|
||||
show={<StrategySeparator text="AND" />}
|
||||
/>
|
||||
|
@ -7,7 +7,7 @@ import React, { Fragment } from 'react';
|
||||
import { PlaygroundParameterItem } from '../PlaygroundParamteterItem/PlaygroundParameterItem';
|
||||
import { ConditionallyRender } from 'component/common/ConditionallyRender/ConditionallyRender';
|
||||
import { StrategySeparator } from 'component/common/StrategySeparator/StrategySeparator';
|
||||
import {Chip} from '@mui/material';
|
||||
import { Chip } from '@mui/material';
|
||||
import PercentageCircle from 'component/common/PercentageCircle/PercentageCircle';
|
||||
import { PlaygroundConstraintSchema } from 'hooks/api/actions/usePlayground/playground.model';
|
||||
import { useStrategies } from 'hooks/api/getters/useStrategies/useStrategies';
|
||||
@ -96,7 +96,9 @@ export const PlaygroundResultStrategyExecutionCustomStrategyParams = ({
|
||||
</Fragment>
|
||||
);
|
||||
case 'string':
|
||||
const value = parseParameterString(parameters[param.name]) ?? 'no value';
|
||||
const value =
|
||||
parseParameterString(parameters[param.name]) ??
|
||||
'no value';
|
||||
return (
|
||||
<Fragment key={param?.name}>
|
||||
<PlaygroundParameterItem
|
||||
|
Loading…
Reference in New Issue
Block a user