Closed ashish979 closed 5 years ago
@Akryum
Below the problem that I am facing:
meteor: { $subscribe: { 'Time': [], 'Organisation': [], 'OrganisationData' () { return [this.organisationIds] } }, OrganisationCursor () { return Organisation.find({}) }, organisationIds: function() { this.OrganisationCursor && this.OrganisationCursor.map((organisation) => organisation._id); } }
I have passed a meteor reactive property as an argument to OrganisationData subscription. The publication on backend is called and returning data as well. But $subReady.OrganisationData is always false.
OrganisationData
$subReady.OrganisationData
Below is the link to the repository to reproduce the problem. https://github.com/ashish979/meteor-vue-example
Any help would be appreciated.
Thanks
Found the issue. It was due to missing return statement in OrganisationData publication. Disadvantage of using coffeescript -_-.
@Akryum
Below the problem that I am facing:
I have passed a meteor reactive property as an argument to
OrganisationData
subscription. The publication on backend is called and returning data as well. But$subReady.OrganisationData
is always false.Below is the link to the repository to reproduce the problem. https://github.com/ashish979/meteor-vue-example
Any help would be appreciated.
Thanks