mirror of
https://gitlab.com/bmcgonag/get_my.git
synced 2026-03-27 00:08:49 +00:00
Updating dashboard view, and fixing an issue with menu completion.
This commit is contained in:
parent
81f29952e2
commit
2ce2499347
4 changed files with 48 additions and 17 deletions
|
|
@ -49,6 +49,12 @@ Template.dashboard.helpers({
|
|||
let now = new Date();
|
||||
let todayDate = moment(now).format("MMM D, YYYY");
|
||||
return todayDate;
|
||||
},
|
||||
nextDays: function() {
|
||||
let now = new Date();
|
||||
let nowDate = moment(now).add(1, 'day').format("MM D, YYYY");
|
||||
console.log("nowDate = " + nowDate);
|
||||
return MenuItems.find({ serveDate: nowDate });
|
||||
}
|
||||
});
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue