From fb2c9538ddb1929813c0eea0cf635a6f09a79ffc Mon Sep 17 00:00:00 2001 From: ivaosthu Date: Sat, 22 Oct 2016 16:48:55 +0200 Subject: [PATCH] minor --- .../src/component/feature/ConfigureStrategy.jsx | 9 ++++++++- .../src/component/feature/ConfiguredStrategies.jsx | 3 ++- 2 files changed, 10 insertions(+), 2 deletions(-) diff --git a/packages/unleash-frontend-next/src/component/feature/ConfigureStrategy.jsx b/packages/unleash-frontend-next/src/component/feature/ConfigureStrategy.jsx index d9ed55bea3..1c55c21951 100644 --- a/packages/unleash-frontend-next/src/component/feature/ConfigureStrategy.jsx +++ b/packages/unleash-frontend-next/src/component/feature/ConfigureStrategy.jsx @@ -41,7 +41,14 @@ class ConfigureStrategy extends React.Component { renderInputFields (selectedStrategy) { if (selectedStrategy.parametersTemplate) { return Object.keys(selectedStrategy.parametersTemplate).map(field => ( - + )); } } diff --git a/packages/unleash-frontend-next/src/component/feature/ConfiguredStrategies.jsx b/packages/unleash-frontend-next/src/component/feature/ConfiguredStrategies.jsx index b2ae2465db..9c5d61073e 100644 --- a/packages/unleash-frontend-next/src/component/feature/ConfiguredStrategies.jsx +++ b/packages/unleash-frontend-next/src/component/feature/ConfiguredStrategies.jsx @@ -11,7 +11,8 @@ class ConfiguredStrategies extends React.Component { renderName (strategy) { const params = Object.keys(strategy.parameters) - .map(param => `${param}=${strategy.parameters[param]}`); + .map(param => `${param}='${strategy.parameters[param]}'`) + .join(', '); return {strategy.name} ({params}); }