small tweaks: no more users.current subscription on startup, fix child context App, fix getting started callback

This commit is contained in:
xavcz 2016-11-10 22:18:36 +01:00
parent 2b79907ffd
commit 83020ce65c
3 changed files with 5 additions and 5 deletions

View file

@ -16,7 +16,7 @@ class App extends Component {
const {intl} = intlProvider.getChildContext();
return {
currentUser: this.props.data.currentUser,
currentUser: this.props.currentUser,
actions: {call: Meteor.call},
events: this.props.events,
intl: intl

View file

@ -1,3 +1,3 @@
Meteor.startup(() => {
Meteor.subscribe('users.current');
});
// Meteor.startup(() => {
// Meteor.subscribe('users.current');
// });

View file

@ -50,4 +50,4 @@ function copyDummyProperty (user, options) {
}
return user;
}
Telescope.callbacks.add("onCreateUser", copyDummyProperty);
Telescope.callbacks.add("users.new.sync", copyDummyProperty);