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
|
|
@ -25,9 +25,9 @@ Template.deleteConfirmationModal.events({
|
|||
const delItem = async() => {
|
||||
let result = await Meteor.callAsync(method, deleteId);
|
||||
if (!result) {
|
||||
console.log(" ERROR deleting item from modal: " + err);
|
||||
// console.log(" ERROR deleting item from modal: " + err);
|
||||
} else {
|
||||
console.log(" SUCCESSFULLY deleted.");
|
||||
// console.log(" SUCCESSFULLY deleted.");
|
||||
// put the new modal open / close here
|
||||
// $('#modalDelete').modal('close');
|
||||
}
|
||||
|
|
|
|||
|
|
@ -22,10 +22,10 @@ Template.headerBar.onRendered(function() {
|
|||
let isRole = await Roles.getRolesForUserAsync(userId);
|
||||
try {
|
||||
if (!isRole) {
|
||||
console.log("SystemAdmin role for user not found: " + isRole);;
|
||||
// console.log("SystemAdmin role for user not found: " + isRole);;
|
||||
} else {
|
||||
console.log("Found role for the user: ");
|
||||
console.dir(isRole);
|
||||
// console.log("Found role for the user: ");
|
||||
// console.dir(isRole);
|
||||
}
|
||||
} catch(error) {
|
||||
console.log(" ERROR getting role for user: " + error);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue