diff options
author | Thuan Pham Quoc <thuanpq.io@gmail.com> | 2017-12-01 15:26:41 +0700 |
---|---|---|
committer | Thuan Pham Quoc <thuanpq.io@gmail.com> | 2017-12-01 15:26:41 +0700 |
commit | 3dc326db6a2ffe258f4da33645abd3326275d156 (patch) | |
tree | db3a8f7d0bb2245f970073802881a962e44add7f /client/components/users | |
parent | b3eab212aefc0012311cb59452c47a2627e5f472 (diff) | |
download | wekan-3dc326db6a2ffe258f4da33645abd3326275d156.tar.gz wekan-3dc326db6a2ffe258f4da33645abd3326275d156.tar.bz2 wekan-3dc326db6a2ffe258f4da33645abd3326275d156.zip |
Move user-admin subsciption to header
Diffstat (limited to 'client/components/users')
-rw-r--r-- | client/components/users/userHeader.js | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/client/components/users/userHeader.js b/client/components/users/userHeader.js index ccb09148..f8a1c8b7 100644 --- a/client/components/users/userHeader.js +++ b/client/components/users/userHeader.js @@ -3,12 +3,6 @@ Template.headerUserBar.events({ 'click .js-change-avatar': Popup.open('changeAvatar'), }); -BlazeComponent.extendComponent({ - onCreated() { - Meteor.subscribe('user-admin'); - }, -}).register('memberMenuPopup'); - Template.memberMenuPopup.events({ 'click .js-edit-profile': Popup.open('editProfile'), 'click .js-change-settings': Popup.open('changeSettings'), |