From 69d6a1f186f3571254d4c7c76b2d5a6aac24de21 Mon Sep 17 00:00:00 2001 From: andreas-unleash <104830839+andreas-unleash@users.noreply.github.com> Date: Tue, 9 Aug 2022 10:10:45 +0300 Subject: [PATCH] PR comments --- .../StrategyExecutionParameters.tsx | 14 ++------------ .../StrategyItem/StrategyExecution/helpers.ts | 1 - 2 files changed, 2 insertions(+), 13 deletions(-) diff --git a/frontend/src/component/playground/Playground/PlaygroundResultsTable/FeatureResultInfoPopoverCell/FeatureStrategyList/StrategyList/StrategyItem/StrategyExecution/StrategyExecutionParameters/StrategyExecutionParameters.tsx b/frontend/src/component/playground/Playground/PlaygroundResultsTable/FeatureResultInfoPopoverCell/FeatureStrategyList/StrategyList/StrategyItem/StrategyExecution/StrategyExecutionParameters/StrategyExecutionParameters.tsx index dd3b814388..640b25b83b 100644 --- a/frontend/src/component/playground/Playground/PlaygroundResultsTable/FeatureResultInfoPopoverCell/FeatureStrategyList/StrategyList/StrategyItem/StrategyExecution/StrategyExecutionParameters/StrategyExecutionParameters.tsx +++ b/frontend/src/component/playground/Playground/PlaygroundResultsTable/FeatureResultInfoPopoverCell/FeatureStrategyList/StrategyList/StrategyItem/StrategyExecution/StrategyExecutionParameters/StrategyExecutionParameters.tsx @@ -88,18 +88,8 @@ export const PlaygroundResultStrategyExecutionParameters = ({ key={key} value={hosts} text={'host'} - input={ - Boolean(input?.context?.[getMappedParam(key)]) - ? input?.context?.[getMappedParam(key)] - : 'no value' - } - showReason={ - Boolean(input?.context?.[getMappedParam(key)]) - ? !hosts.includes( - input?.context?.[getMappedParam(key)] - ) - : undefined - } + input={'no value'} + showReason={undefined} /> ); case 'IPs': diff --git a/frontend/src/component/playground/Playground/PlaygroundResultsTable/FeatureResultInfoPopoverCell/FeatureStrategyList/StrategyList/StrategyItem/StrategyExecution/helpers.ts b/frontend/src/component/playground/Playground/PlaygroundResultsTable/FeatureResultInfoPopoverCell/FeatureStrategyList/StrategyList/StrategyItem/StrategyExecution/helpers.ts index 7e741a8f52..5b4a8c34b5 100644 --- a/frontend/src/component/playground/Playground/PlaygroundResultsTable/FeatureResultInfoPopoverCell/FeatureStrategyList/StrategyList/StrategyItem/StrategyExecution/helpers.ts +++ b/frontend/src/component/playground/Playground/PlaygroundResultsTable/FeatureResultInfoPopoverCell/FeatureStrategyList/StrategyList/StrategyItem/StrategyExecution/helpers.ts @@ -4,7 +4,6 @@ export const getMappedParam = (key: string) => { return 'userId'; case 'IPS': return 'remoteAddress'; - case 'HOSTNAMES': default: return key; }