Skip to content

Commit

Permalink
Themes: fix forum URL to show even without site selected (#11296)
Browse files Browse the repository at this point in the history
Props @ockham
  • Loading branch information
folletto authored and seear committed Feb 9, 2017
1 parent 1c01a85 commit b23a70a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion client/my-sites/theme/main.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -666,7 +666,7 @@ export default connect(
isActive: selectedSite && isThemeActive( state, id, selectedSite.ID ),
isPremium: isThemePremium( state, id ),
isPurchased: selectedSite && isPremiumThemeAvailable( state, id, selectedSite.ID ),
forumUrl: selectedSite && getThemeForumUrl( state, id, selectedSite.ID ),
forumUrl: getThemeForumUrl( state, id, selectedSite && selectedSite.ID ),
};
},
{
Expand Down

0 comments on commit b23a70a

Please sign in to comment.