mirror of
https://github.com/vale981/Vulcan
synced 2025-03-06 10:01:40 -05:00
small tweaks: no more users.current subscription on startup, fix child context App, fix getting started callback
This commit is contained in:
parent
2b79907ffd
commit
83020ce65c
3 changed files with 5 additions and 5 deletions
|
@ -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
|
||||
|
|
|
@ -1,3 +1,3 @@
|
|||
Meteor.startup(() => {
|
||||
Meteor.subscribe('users.current');
|
||||
});
|
||||
// Meteor.startup(() => {
|
||||
// Meteor.subscribe('users.current');
|
||||
// });
|
|
@ -50,4 +50,4 @@ function copyDummyProperty (user, options) {
|
|||
}
|
||||
return user;
|
||||
}
|
||||
Telescope.callbacks.add("onCreateUser", copyDummyProperty);
|
||||
Telescope.callbacks.add("users.new.sync", copyDummyProperty);
|
Loading…
Add table
Reference in a new issue