Handle subscriptions better

* use onReady and onStop callbacks when subscribing
* show an server error message when the server returns an error
* call stop() on subscriptions
This commit is contained in:
John Supplee 2021-03-05 21:20:55 +02:00
parent 28aebaa06b
commit 58020863a8
6 changed files with 65 additions and 52 deletions

View file

@ -57,7 +57,7 @@ class DueCardsComponent extends CardSearchPagedComponent {
queryParams.users = [Meteor.user().username];
}
this.autorunGlobalSearch(queryParams);
this.runGlobalSearch(queryParams);
}
dueCardsView() {