mirror of
https://gitlab.com/bmcgonag/get_my.git
synced 2026-03-27 00:08:49 +00:00
Adjusted layout and removed logging
This commit is contained in:
parent
680f7c614d
commit
047befcae9
2 changed files with 2 additions and 5 deletions
|
|
@ -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 {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue