diff --git a/src/client/containers/Topbar/onlineUserList.jsx b/src/client/containers/Topbar/onlineUserList.jsx index be81df3a6..e6b1cc4bf 100644 --- a/src/client/containers/Topbar/onlineUserList.jsx +++ b/src/client/containers/Topbar/onlineUserList.jsx @@ -96,6 +96,7 @@ class OnlineUserListPartial extends React.Component { {entries(this.activeUsers).map(([key, value]) => { if (this.props.sessionUser && value.user._id === this.props.sessionUser._id) return const image = value.user.image || 'defaultProfile.jpg' + const isAgentOrAdmin = value.user.role.isAdmin || value.user.role.isAgent return (