mirror of
https://github.com/Unleash/unleash.git
synced 2025-02-23 00:22:19 +01:00
fmt
This commit is contained in:
parent
e3fcfb1318
commit
44f77c46c2
@ -21,7 +21,7 @@ export function checkForEmptyValues(object?: Object): boolean {
|
|||||||
}
|
}
|
||||||
|
|
||||||
export const hasCustomStrategies = (feature: PlaygroundFeatureSchema) => {
|
export const hasCustomStrategies = (feature: PlaygroundFeatureSchema) => {
|
||||||
return feature.strategies?.data?.find(strategy =>
|
return feature.strategies?.data?.find(
|
||||||
!DEFAULT_STRATEGIES.includes(strategy.name)
|
strategy => !DEFAULT_STRATEGIES.includes(strategy.name)
|
||||||
);
|
);
|
||||||
};
|
};
|
||||||
|
Loading…
Reference in New Issue
Block a user