mirror of
https://gitlab.com/bmcgonag/get_my.git
synced 2026-03-27 00:08:49 +00:00
Updated modal styling and fixed a weird bug
This commit is contained in:
parent
00a99e0393
commit
be07ec72bd
5 changed files with 21 additions and 8 deletions
|
|
@ -30,7 +30,10 @@ Template.addProdToListModal.helpers({
|
|||
return Lists.find({});
|
||||
},
|
||||
productToChoose: function() {
|
||||
let prodLinkLIst = MenuProdLinks.find({ menuId: Session.get("menuItemId")});
|
||||
let menuItemId = Session.get("menuItemId");
|
||||
console.log("Menu Item Id received is: " + menuItemId);
|
||||
let prodLinkLIst = MenuProdLinks.find({ menuItemId: menuItemId});
|
||||
console.dir(prodLinkLIst);
|
||||
if (typeof prodLinkLIst != 'undefined' && prodLinkLIst != "" && prodLinkLIst != null) {
|
||||
return prodLinkLIst;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue