mirror of
https://gitlab.com/bmcgonag/get_my.git
synced 2026-03-27 00:08:49 +00:00
Commenting out console logging.
This commit is contained in:
parent
4687f27011
commit
d25ef56591
31 changed files with 87 additions and 87 deletions
|
|
@ -89,7 +89,7 @@ Template.menuItemsForm.events({
|
|||
const addMenuItem = async() => {
|
||||
let result = await Meteor.callAsync('add.menuItem', menuItem);
|
||||
if (!result) {
|
||||
console.log(" ERROR adding menu item: " + err);
|
||||
// console.log(" ERROR adding menu item: " + err);
|
||||
} else {
|
||||
// console.log(" SUCCESS adding menu item.");
|
||||
return result;
|
||||
|
|
@ -98,13 +98,13 @@ Template.menuItemsForm.events({
|
|||
let addedItem = addMenuItem();
|
||||
|
||||
if (!addedItem) {
|
||||
console.log("Item was not added.");
|
||||
// console.log("Item was not added.");
|
||||
} else {
|
||||
// now add this item to the menu
|
||||
const addToMenu = async() => {
|
||||
let result2 = await Meteor.callAsync('addto.Menu', menuId, menuItem, addedItem, dateSrv);
|
||||
if (!result2) {
|
||||
console.log(" ERROR adding menuitem to menu: " + error);
|
||||
// console.log(" ERROR adding menuitem to menu: " + error);
|
||||
} else {
|
||||
$("#menuItemInp").val("");
|
||||
$("#dateServed").val("");
|
||||
|
|
@ -126,7 +126,7 @@ Template.menuItemsForm.events({
|
|||
const addToMenu = async() => {
|
||||
let result = await Meteor.callAsync('addto.Menu', menuId, menuItem, menuItemId, dateSrv, isLinked);
|
||||
if (!result) {
|
||||
console.log(" ERROR adding menuitem to menu: " + error);
|
||||
// console.log(" ERROR adding menuitem to menu: " + error);
|
||||
} else {
|
||||
// console.log("Added item to menu - no problem.");
|
||||
$("#menuItemInp").val("");
|
||||
|
|
@ -149,7 +149,7 @@ Template.menuItemsForm.events({
|
|||
const shiftDay = async() => {
|
||||
let result = await Meteor.callAsync('shiftDate', menuItemId, momentAddDay);
|
||||
if (!result) {
|
||||
console.log(" ERROR shifting meal days: " + err);
|
||||
// console.log(" ERROR shifting meal days: " + err);
|
||||
} else {
|
||||
showSnackbar("Items Shifted Out by 1 Calendar Day", "green");
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue