get_my/client/Dashboard/dashboard.js
Brian McGonagill 750811a81f initial commit
2022-08-04 19:50:18 -05:00

19 lines
No EOL
359 B
JavaScript

import { ServiceEntities } from "../../imports/api/serviceentities";
Template.dashboard.onCreated(function() {
this.subscribe("ServiceEntities");
});
Template.dashboard.onRendered(function() {
});
Template.dashboard.helpers({
entityCount: function() {
return ServiceEntities.find().count();
},
});
Template.dashboard.events({
});