diff --git a/client/homebrew/pages/userPage/userPage.jsx b/client/homebrew/pages/userPage/userPage.jsx index e0b371a7e..5081a4942 100644 --- a/client/homebrew/pages/userPage/userPage.jsx +++ b/client/homebrew/pages/userPage/userPage.jsx @@ -26,6 +26,11 @@ const UserPage = createClass({ brews : [] }; }, + getUsernameWithS : function() { + if(this.props.username.endsWith('s')) + return `${this.props.username}'`; + return `${this.props.username}'s`; + }, renderBrews : function(brews){ if(!brews || !brews.length) return