Adjusted layout and removed logging

This commit is contained in:
Brian McGonagill 2025-08-09 07:24:54 -05:00
parent 680f7c614d
commit 047befcae9
2 changed files with 2 additions and 5 deletions

View file

@ -42,13 +42,10 @@ Template.prodMgmtTbl.helpers({
let idList = [];
let idsInLists = ListItems.find({}).fetch();
for (i=0; i < idsInLists.length; i++) {
// console.log(idsInList[i]);
idList.push(idsInLists[i].prodId);
}
if (i > idsInLists.length - 1) {
console.dir(idList);
let noProdsNot = Products.find({ _id: { $nin: idList }}).count();
console.log(noProdsNot);
return Products.find({ _id: { $nin: idList }}, { sort: { prodName: 1 }});
}
} else {