Lots of changes and additions to the project. Still early, and not usable.

This commit is contained in:
Brian McGonagill 2022-08-15 18:07:39 -05:00
parent 8636f8cf9b
commit 266dbd0856
41 changed files with 836 additions and 67 deletions

View file

@ -0,0 +1,26 @@
import { Stores } from '../../../imports/api/stores';
Template.storeMgmtTbl.onCreated(function() {
this.subscribe("storeInfo");
});
Template.storeMgmtTbl.onRendered(function() {
});
Template.storeMgmtTbl.helpers({
mgmtStoreInfo: function() {
return Stores.find({});
},
});
Template.storeMgmtTbl.events({
'click .deleteStore' (event) {
event.preventDefault();
// console.log("Delete Store Clicked");
},
'click .editStore' (event) {
event.preventDefault();
// console.log("Edit Store Clicked");
},
});