mirror of
https://gitlab.com/bmcgonag/get_my.git
synced 2026-03-27 08:18:50 +00:00
Lots of changes and additions to the project. Still early, and not usable.
This commit is contained in:
parent
8636f8cf9b
commit
266dbd0856
41 changed files with 836 additions and 67 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