mirror of
https://gitlab.com/bmcgonag/get_my.git
synced 2026-03-27 00:08:49 +00:00
Added List and Menu clean up.
This commit is contained in:
parent
2f3f82477a
commit
e60c32894c
7 changed files with 211 additions and 9 deletions
|
|
@ -122,6 +122,38 @@ Meteor.publish("allTasks", function() {
|
|||
}
|
||||
});
|
||||
|
||||
Meteor.publish("allProducts", function() {
|
||||
try {
|
||||
return Products.find({});
|
||||
} catch (error) {
|
||||
console.log(" ERROR pulling the task items: " + error);
|
||||
}
|
||||
});
|
||||
|
||||
Meteor.publish("allMenus", function() {
|
||||
try {
|
||||
return Menus.find({});
|
||||
} catch (error) {
|
||||
console.log(" ERROR pulling the task items: " + error);
|
||||
}
|
||||
});
|
||||
|
||||
Meteor.publish("allStores", function() {
|
||||
try {
|
||||
return Stores.find({});
|
||||
} catch (error) {
|
||||
console.log(" ERROR pulling the task items: " + error);
|
||||
}
|
||||
});
|
||||
|
||||
Meteor.publish("allLists", function() {
|
||||
try {
|
||||
return Lists.find({});
|
||||
} catch (error) {
|
||||
console.log(" ERROR pulling the task items: " + error);
|
||||
}
|
||||
});
|
||||
|
||||
Meteor.publish("myTasks", function() {
|
||||
try {
|
||||
return TaskItems.find({ assignedToId: this.userId });
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue