* Fixed marketing task visibility

This commit fixes the marketing task visibility

* Add changelog

Co-authored-by: Fernando Marichal <contacto@fernandomarichal.com>
This commit is contained in:
Fernando 2021-08-30 14:21:04 -03:00 committed by GitHub
parent aeaf96c715
commit 5f664bdade
2 changed files with 6 additions and 1 deletions

View File

@ -0,0 +1,4 @@
Significance: patch
Type: Fix
Fix marketing task visibility

View File

@ -355,7 +355,8 @@ export function getAllTasks( {
visible:
window.wcAdminFeatures &&
window.wcAdminFeatures[ 'remote-free-extensions' ] &&
!! marketingExtensionsLists.length,
( !! marketingExtensionsLists.length ||
!! installedMarketingExtensions.length ),
time: __( '1 minute', 'woocommerce-admin' ),
type: 'setup',
},