mirror of
https://gitlab.com/bmcgonag/get_my.git
synced 2026-03-27 00:08:49 +00:00
Adding more methods and views, updated dashboards a bit. Still not ready
This commit is contained in:
parent
266dbd0856
commit
42643a37f5
23 changed files with 374 additions and 32 deletions
26
client/AdminMgmt/StoreMgmt/storeMgmtTbl.js
Normal file
26
client/AdminMgmt/StoreMgmt/storeMgmtTbl.js
Normal 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");
|
||||
},
|
||||
});
|
||||
Loading…
Add table
Add a link
Reference in a new issue