From e3fcfb1318832a8b6a9d8825d557ad044f0867f8 Mon Sep 17 00:00:00 2001 From: andreas-unleash <104830839+andreas-unleash@users.noreply.github.com> Date: Thu, 4 Aug 2022 15:31:09 +0300 Subject: [PATCH] improvements --- .../PlaygroundResultFeatureDetails.styles.ts | 2 +- .../PlaygroundResultFeatureDetails/helpers.ts | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/frontend/src/component/playground/Playground/PlaygroundResultsTable/FeatureResultInfoPopoverCell/PlaygroundResultFeatureDetails/PlaygroundResultFeatureDetails.styles.ts b/frontend/src/component/playground/Playground/PlaygroundResultsTable/FeatureResultInfoPopoverCell/PlaygroundResultFeatureDetails/PlaygroundResultFeatureDetails.styles.ts index d436675733..947511f64e 100644 --- a/frontend/src/component/playground/Playground/PlaygroundResultsTable/FeatureResultInfoPopoverCell/PlaygroundResultFeatureDetails/PlaygroundResultFeatureDetails.styles.ts +++ b/frontend/src/component/playground/Playground/PlaygroundResultsTable/FeatureResultInfoPopoverCell/PlaygroundResultFeatureDetails/PlaygroundResultFeatureDetails.styles.ts @@ -17,7 +17,7 @@ export const useStyles = makeStyles()(theme => ({ margin: theme.spacing(1, 0), }, descriptionRow: { - marginBottom: theme.spacing(2), + margin: theme.spacing(1, 0.5), }, name: { fontWeight: 600, diff --git a/frontend/src/component/playground/Playground/PlaygroundResultsTable/FeatureResultInfoPopoverCell/PlaygroundResultFeatureDetails/helpers.ts b/frontend/src/component/playground/Playground/PlaygroundResultsTable/FeatureResultInfoPopoverCell/PlaygroundResultFeatureDetails/helpers.ts index a8d01a6d77..8a0c94aa35 100644 --- a/frontend/src/component/playground/Playground/PlaygroundResultsTable/FeatureResultInfoPopoverCell/PlaygroundResultFeatureDetails/helpers.ts +++ b/frontend/src/component/playground/Playground/PlaygroundResultsTable/FeatureResultInfoPopoverCell/PlaygroundResultFeatureDetails/helpers.ts @@ -22,6 +22,6 @@ export function checkForEmptyValues(object?: Object): boolean { export const hasCustomStrategies = (feature: PlaygroundFeatureSchema) => { return feature.strategies?.data?.find(strategy => - DEFAULT_STRATEGIES.includes(strategy.name) + !DEFAULT_STRATEGIES.includes(strategy.name) ); };