open-assets/client/LocationTypes/locationTypeTbl.js

21 lines
No EOL
462 B
JavaScript

import { Roles } from 'meteor/roles';
import { FlowRouter } from 'meteor/ostrio:flow-router-extra';
import { LocationTypes } from '../../imports/api/locationTypes.js';
Template.locationTypeTbl.onCreated(function() {
this.subscribe("LocationTypes");
});
Template.locationTypeTbl.onRendered(function() {
});
Template.locationTypeTbl.helpers({
types: function() {
return LocationTypes.find({});
},
});
Template.locationTypeTbl.events({
});