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
|
|
@ -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");
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue