You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
DashboardController.events({
'click .delete': function () {
Meteor.call('ToDos.delete',this._id);
}
});
In a simple boilerplate I can access the id of the collection in the event using this._id but with this setup it has a null value. Any ideas how to get the id of the collection todo in the controller?
The text was updated successfully, but these errors were encountered:
I have this in my dashboard.html
and in the controller dashboard.js I have this
In a simple boilerplate I can access the id of the collection in the event using this._id but with this setup it has a null value. Any ideas how to get the id of the collection todo in the controller?
The text was updated successfully, but these errors were encountered: