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
|
|
@ -53,7 +53,7 @@ Template.prodMgmtForm.events({
|
|||
},
|
||||
'click #showNoStoreSet' (event) {
|
||||
let noStoreSet = $("#showNoStoreSet").prop('checked');
|
||||
console.log("Clicked: " + noStoreSet);
|
||||
// console.log("Clicked: " + noStoreSet);
|
||||
if (noStoreSet == true) {
|
||||
Session.set("noStoreSet", true);
|
||||
} else {
|
||||
|
|
@ -69,7 +69,7 @@ const newProd = async(name, store) => {
|
|||
let result = await Meteor.callAsync('add.product', name, store);
|
||||
try {
|
||||
if (!result) {
|
||||
console.log("No result when trying to add a new product.");
|
||||
// console.log("No result when trying to add a new product.");
|
||||
showSnackbar("Unable to add new product.");
|
||||
} else {
|
||||
$("#prodName").val("");
|
||||
|
|
|
|||
|
|
@ -60,7 +60,7 @@ Template.prodMgmtTbl.events({
|
|||
const getProds = async() => {
|
||||
let prodInfo = await Products.findOneAsync({ _id: this._id });
|
||||
if (!prodInfo) {
|
||||
console.log("No Product Returned.");
|
||||
// console.log("No Product Returned.");
|
||||
} else {
|
||||
$("#prodName").val(prodInfo.prodName);
|
||||
$("#prodStore").val(prodInfo.prodStore);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue