@@ -196,7 +198,7 @@ const ThemeSheet = React.createClass( {
diff --git a/client/my-sites/themes/helpers.js b/client/my-sites/themes/helpers.js
index 159935d2fa477..3f410532f12d1 100644
--- a/client/my-sites/themes/helpers.js
+++ b/client/my-sites/themes/helpers.js
@@ -104,6 +104,11 @@ var ThemesHelpers = {
return !! ( theme.cost && theme.cost.number );
},
+ isActive: function( theme, site ) {
+ return theme.stylesheet && site && site.options && site.options.theme_slug &&
+ site.options.theme_slug === theme.stylesheet;
+ },
+
trackClick: function( componentName, eventName, verb = 'click' ) {
const stat = `${componentName} ${eventName} ${verb}`;
analytics.ga.recordEvent( 'Themes', titlecase( stat ) );