Adding more methods and views, updated dashboards a bit. Still not ready

This commit is contained in:
Brian McGonagill 2022-08-16 16:46:14 -05:00
parent 266dbd0856
commit 42643a37f5
23 changed files with 374 additions and 32 deletions

View file

@ -1,26 +0,0 @@
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");
},
});