Skip to content

Commit

Permalink
Domains: Use guarded siteId value (#26712)
Browse files Browse the repository at this point in the history
  • Loading branch information
sirreal authored Aug 15, 2018
1 parent a24b6ee commit 9604812
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion client/components/data/domain-management/index.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -215,7 +215,7 @@ export default connect(
const siteId = get( selectedSite, 'ID', null );
const googleAppsUsers = selectedDomainName
? getByDomain( state, selectedDomainName )
: getBySite( state, selectedSite.ID );
: getBySite( state, siteId );

return {
currentUser: getCurrentUser( state ),
Expand Down

0 comments on commit 9604812

Please sign in to comment.