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

@ -68,10 +68,10 @@ Template.dashboard.helpers({
let updateAvail = UpdateInfo.find({});
try {
if (!updateAvail) {
console.log("No update info found.");
// console.log("No update info found.");
return false;
} else {
console.dir(updateAvail);
// console.dir(updateAvail);
return updateAvail;
}
} catch(error) {
@ -82,10 +82,10 @@ Template.dashboard.helpers({
const ifUpdate = async() => {
let updateExists = await UpdateInfo.findOneAsync({ viewed: false });
if (!updateExists) {
console.log("Update doesn't exist as false.");
// console.log("Update doesn't exist as false.");
return false;
} else {
console.log("Update found with false.");
// console.log("Update found with false.");
return true;
}
}
@ -179,7 +179,7 @@ Template.dashboard.events({
let result = await Meteor.callAsync('markUpdate.read', eventId);
try {
if (!result) {
console.log(" Error marking this read.");
// console.log(" Error marking this read.");
showSnackbar("Error Marking Read!", "red");
} else {
showSnackbar("Successfully Marked as Read.", "green");