TP-17651 | Disable Done button when no strategies
This commit is contained in:
@@ -169,6 +169,7 @@ export const isVariantDetails = (variants: any) => {
|
||||
};
|
||||
|
||||
export const isStrategyDetails = (strategies: any) => {
|
||||
if (!strategies?.length) return true;
|
||||
return !!strategies?.filter(
|
||||
(strategy: any) =>
|
||||
!strategy?.name ||
|
||||
|
||||
Reference in New Issue
Block a user