mirror of
https://gitlab.com/bmcgonag/get_my.git
synced 2026-03-27 00:08:49 +00:00
Added Task Mgmt, and framework for Recipes.
This commit is contained in:
parent
3b9a54daf1
commit
947abfb76f
13 changed files with 430 additions and 1 deletions
|
|
@ -9,6 +9,7 @@ import { ListItems } from '../imports/api/listItems.js';
|
|||
import { Menus } from '../imports/api/menu.js';
|
||||
import { MenuItems } from '../imports/api/menuItems.js';
|
||||
import moment from 'moment';
|
||||
import { TaskItems } from '../imports/api/tasks.js';
|
||||
|
||||
Meteor.publish("SystemConfig", function() {
|
||||
try {
|
||||
|
|
@ -95,4 +96,12 @@ Meteor.publish("todayMenuItems", function() {
|
|||
} catch (error) {
|
||||
console.log(" ERROR pulling today's menu items: " + error);
|
||||
}
|
||||
});
|
||||
|
||||
Meteor.publish("allTasks", function() {
|
||||
try {
|
||||
return TaskItems.find({});
|
||||
} catch (error) {
|
||||
console.log(" ERROR pulling the task items: " + error);
|
||||
}
|
||||
});
|
||||
Loading…
Add table
Add a link
Reference in a new issue