Skip to content

Commit

Permalink
Fix Jetpack sites' listing on the "My Home" page (#57952)
Browse files Browse the repository at this point in the history
Sites displayed on the "My Home" page (`/home`) are filtered based on certain rules.

This PR removes filter condition that prevents Jetpack-connected sites from loading on the `/home` page.
  • Loading branch information
ivan-ottinger committed Nov 23, 2021
1 parent 196a094 commit a837da9
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions client/my-sites/sites/index.jsx
Expand Up @@ -56,9 +56,9 @@ class Sites extends Component {
return true;
}

// Supported on Simple and Atomic Sites
// filter out all VIP sites
if ( /^\/home/.test( path ) ) {
return ! site.is_vip && ! ( site.jetpack && ! site.options.is_automated_transfer );
return ! site.is_vip;
}

return site;
Expand Down

0 comments on commit a837da9

Please sign in to comment.