mirror of
https://gitlab.com/bmcgonag/get_my.git
synced 2026-03-27 00:08:49 +00:00
Updated to filter Products when no store is assigned.
This commit is contained in:
parent
d0398ddc32
commit
a7a9c48e01
5 changed files with 31 additions and 10 deletions
|
|
@ -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);
|
||||
}
|
||||
}
|
||||
});
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue