Updated to filter Products when no store is assigned.

This commit is contained in:
Brian McGonagill 2024-08-09 12:03:49 -05:00
parent d0398ddc32
commit a7a9c48e01
5 changed files with 31 additions and 10 deletions

View file

@ -136,4 +136,13 @@ Template.prodMgmtForm.events({
storeModal.open();
}
},
});
'click #showNoStoreSet' (event) {
let noStoreSet = $("#showNoStoreSet").prop('checked');
console.log("Clicked: " + noStoreSet);
if (noStoreSet == true) {
Session.set("noStoreSet", true);
} else {
Session.set("noStoreSet", false);
}
}
});