diff --git a/packages/rocketchat-ui-flextab/client/tabs/userInfo.js b/packages/rocketchat-ui-flextab/client/tabs/userInfo.js index 9dce89b6a906..e64f60b0e5fc 100644 --- a/packages/rocketchat-ui-flextab/client/tabs/userInfo.js +++ b/packages/rocketchat-ui-flextab/client/tabs/userInfo.js @@ -46,7 +46,7 @@ Template.userInfo.helpers({ const user = Meteor.user(); return RocketChat.authz.hasAllPermission('create-d') && user && user.username !== username; }, - + isSelf(username) { const user = Meteor.user(); return user && user.username === username;