I am getting problems when I try to get an object from a collection, the subscribe function are not working as expected. For Example:
var num = Router.current().params.taskid;
If I keep this as it is I cannot show anything, the value showed in the console is 9. However if I change the variable “num” for the explicit value: 9 it works as expected.
Do you know why the subcribe is not working on this case?
I really appreciate all your help about it.