Fix bug with updating linked menu items and products.

This commit is contained in:
Brian McGonagill 2024-08-16 12:33:27 -05:00
parent e10e234250
commit 457004df3f
2 changed files with 38 additions and 11 deletions

View file

@ -53,9 +53,6 @@ Template.addProdToListModal.events({
event.preventDefault();
let selectedItems = Session.get("itemsSelected");
let listId = $("#chooseList").val();
// console.log(" calling meteor method with items: ");
// console.dir(selectedItems);
// console.log(" and list id: "+ listId);
Meteor.call('add.itemsFromMenuItem', selectedItems, listId, function(err, result) {
if (err) {
console.log(" ERROR adding menu components to list: " + err);
@ -64,4 +61,4 @@ Template.addProdToListModal.events({
}
});
}
});
});