diff --git a/plugins/woocommerce-admin/client/task-list/tasks/payments/index.js b/plugins/woocommerce-admin/client/task-list/tasks/payments/index.js index 0022be63105..46543f6518c 100644 --- a/plugins/woocommerce-admin/client/task-list/tasks/payments/index.js +++ b/plugins/woocommerce-admin/client/task-list/tasks/payments/index.js @@ -239,8 +239,8 @@ class Payments extends Component { const currentMethod = this.getCurrentMethod(); const { busyMethod, enabledMethods, recommendedMethod } = this.state; const { methods, query, requesting } = this.props; - const configuredMethods = methods.filter( - ( method ) => method.isConfigured + const hasEnabledMethods = Object.keys( enabledMethods ).filter( + ( method ) => enabledMethods[ method ] ).length; if ( currentMethod ) { @@ -348,7 +348,7 @@ class Payments extends Component { ); } ) }
- { configuredMethods.length === 0 ? ( + { ! hasEnabledMethods ? (