mirror of
https://gitlab.com/bmcgonag/get_my.git
synced 2026-03-27 00:08:49 +00:00
Added autocomplete to Menu Item entryies
This commit is contained in:
parent
9abb198e82
commit
d8c08578f3
4 changed files with 42 additions and 7 deletions
|
|
@ -83,10 +83,18 @@ Meteor.publish("myMenuItems", function(menuId) {
|
|||
try {
|
||||
return MenuItems.find({ menuId: menuId });
|
||||
} catch (error) {
|
||||
console.log(" ERROR pulling list items for this list: " + error);
|
||||
console.log(" ERROR pulling menu items for this list: " + error);
|
||||
}
|
||||
});
|
||||
|
||||
Meteor.publish("allMenuItems", function() {
|
||||
try {
|
||||
return MenuItems.find({});
|
||||
} catch (error) {
|
||||
console.log(" ERROR pulling all menu items from collection: " + error);
|
||||
}
|
||||
})
|
||||
|
||||
Meteor.publish("todayMenuItems", function() {
|
||||
try {
|
||||
let todayDate = new Date();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue