summaryrefslogtreecommitdiffstats
path: root/webapp/components/user_profile.jsx
diff options
context:
space:
mode:
Diffstat (limited to 'webapp/components/user_profile.jsx')
-rw-r--r--webapp/components/user_profile.jsx10
1 files changed, 8 insertions, 2 deletions
diff --git a/webapp/components/user_profile.jsx b/webapp/components/user_profile.jsx
index d8549cc7b..d4d900e6a 100644
--- a/webapp/components/user_profile.jsx
+++ b/webapp/components/user_profile.jsx
@@ -82,6 +82,8 @@ export default class UserProfile extends React.Component {
status={this.props.status}
isBusy={this.props.isBusy}
hide={this.hideProfilePopover}
+ isRHS={this.props.isRHS}
+ hasMention={this.props.hasMention}
/>
}
>
@@ -99,7 +101,9 @@ UserProfile.defaultProps = {
user: {},
overwriteName: '',
overwriteImage: '',
- disablePopover: false
+ disablePopover: false,
+ isRHS: false,
+ hasMention: false
};
UserProfile.propTypes = {
user: PropTypes.object,
@@ -108,5 +112,7 @@ UserProfile.propTypes = {
disablePopover: PropTypes.bool,
displayNameType: PropTypes.string,
status: PropTypes.string,
- isBusy: PropTypes.bool
+ isBusy: PropTypes.bool,
+ isRHS: PropTypes.bool,
+ hasMention: PropTypes.bool
};