mirror of
https://gitlab.com/bmcgonag/get_my.git
synced 2026-03-27 00:08:49 +00:00
Adding functionality for Tasks.
This commit is contained in:
parent
947abfb76f
commit
56b27d6b05
13 changed files with 234 additions and 9 deletions
|
|
@ -104,4 +104,12 @@ Meteor.publish("allTasks", function() {
|
|||
} catch (error) {
|
||||
console.log(" ERROR pulling the task items: " + error);
|
||||
}
|
||||
});
|
||||
|
||||
Meteor.publish("myTasks", function() {
|
||||
try {
|
||||
return TaskItems.find({ assignedToId: this.userId });
|
||||
} catch (error) {
|
||||
console.log(" ERROR pulling the task items: " + error);
|
||||
}
|
||||
});
|
||||
Loading…
Add table
Add a link
Reference in a new issue