Commenting out console logging.

This commit is contained in:
Brian McGonagill 2025-07-23 19:44:24 -05:00
parent 4687f27011
commit d25ef56591
31 changed files with 87 additions and 87 deletions

View file

@ -30,9 +30,9 @@ Template.addMenuModal.events({
const addMenu = async() => {
let result = await Meteor.callAsync("add.menu", menuName);
if (!result) {
console.log(" ERROR adding menu: " + err);
// console.log(" ERROR adding menu: " + err);
} else {
console.log(" SUCCESS adding menu.");
// console.log(" SUCCESS adding menu.");
$("#menuNameInp").val("");
}
}

View file

@ -27,13 +27,13 @@ Template.mainMenuTbl.events({
if (sender.localName == "li") {
let menuId = event.currentTarget.id;
if (menuId == "addMenu") {
console.log("add menu clicked");
// console.log("add menu clicked");
} else {
console.log("menuId is: " + menuId);
// console.log("menuId is: " + menuId);
const addUserLast = async() => {
let result = await Meteor.callAsync('add.userLast', "Menu", menuId);
if (!result) {
console.log(" ERROR writing last menu viewed by user to db.");
// console.log(" ERROR writing last menu viewed by user to db.");
} else {
Session.set("menuId", menuId);
Meteor.setTimeout(function() {
@ -48,9 +48,9 @@ Template.mainMenuTbl.events({
const makrMenuComp = async() => {
let result = await Meteor.callAsync("markMenu.complete", menuId);
if (!result) {
console.log(" ERROR: can't mark menu complete.");
// console.log(" ERROR: can't mark menu complete.");
} else {
console.log(" SUCCESS marking menu complete.");
// console.log(" SUCCESS marking menu complete.");
setAllMade();
}
}
@ -59,9 +59,9 @@ Template.mainMenuTbl.events({
const setAllMade = async() => {
let result = await Meteor.callAsync('setAllMade.menuItem', menuId);
if (!result) {
console.log(" ERROR: cannot set all items as made.");
// console.log(" ERROR: cannot set all items as made.");
} else {
console.log(" SUCCESS setting all items made.");
// console.log(" SUCCESS setting all items made.");
}
}
}