Fix marketing task visibility (https://github.com/woocommerce/woocommerce-admin/pull/7580)
* 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:
parent
aeaf96c715
commit
5f664bdade
|
@ -0,0 +1,4 @@
|
||||||
|
Significance: patch
|
||||||
|
Type: Fix
|
||||||
|
|
||||||
|
Fix marketing task visibility
|
|
@ -355,7 +355,8 @@ export function getAllTasks( {
|
||||||
visible:
|
visible:
|
||||||
window.wcAdminFeatures &&
|
window.wcAdminFeatures &&
|
||||||
window.wcAdminFeatures[ 'remote-free-extensions' ] &&
|
window.wcAdminFeatures[ 'remote-free-extensions' ] &&
|
||||||
!! marketingExtensionsLists.length,
|
( !! marketingExtensionsLists.length ||
|
||||||
|
!! installedMarketingExtensions.length ),
|
||||||
time: __( '1 minute', 'woocommerce-admin' ),
|
time: __( '1 minute', 'woocommerce-admin' ),
|
||||||
type: 'setup',
|
type: 'setup',
|
||||||
},
|
},
|
||||||
|
|
Loading…
Reference in New Issue