mirror of
https://gitlab.com/bmcgonag/get_my.git
synced 2026-03-27 00:08:49 +00:00
26 lines
No EOL
572 B
JavaScript
26 lines
No EOL
572 B
JavaScript
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");
|
|
},
|
|
}); |