mirror of
https://github.com/Unleash/unleash.git
synced 2025-02-04 00:18:01 +01:00
improvements
This commit is contained in:
parent
22ab265db9
commit
e3fcfb1318
@ -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,
|
||||
|
@ -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)
|
||||
);
|
||||
};
|
||||
|
Loading…
Reference in New Issue
Block a user