1
0
mirror of https://github.com/Unleash/unleash.git synced 2025-06-09 01:17:06 +02:00
This commit is contained in:
andreas-unleash 2022-08-08 12:16:53 +03:00
parent ceb7d2e3cc
commit e75f03b8f2
2 changed files with 7 additions and 3 deletions

View File

@ -69,7 +69,9 @@ export const PlaygroundResultStrategyExecution = ({
/>
<ConditionallyRender
condition={Boolean(
constraints && constraints.length > 0 && !hasParameters
constraints &&
constraints.length > 0 &&
!hasParameters
)}
show={<StrategySeparator text="AND" />}
/>

View File

@ -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