Merge pull request #23158 from woocommerce/fix/jshint-marketplace

Fixed JSHint warnings on marketplace suggestions script
This commit is contained in:
Timmy Crawford 2019-03-27 13:18:33 -07:00 committed by GitHub
commit 7e17cbfb85
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -275,7 +275,7 @@
// hide promos for things the user already has installed
promos = _.filter( promos, function( promo ) {
return ! _.contains( marketplace_suggestions.active_plugins, promo['product'] );
return ! _.contains( marketplace_suggestions.active_plugins, promo.product );
} );
// hide promos that are not applicable based on user's installed extensions