Updated assignments by person to allow unassigning and assigning.
This commit is contained in:
@@ -77,6 +77,9 @@ if (Meteor.isServer) {
|
||||
Meteor.publish('assets', function() {
|
||||
return Assets.find({});
|
||||
});
|
||||
Meteor.publish('assetsAssignedTo', function(personId) {
|
||||
return Assets.find({assigneeId: personId});
|
||||
});
|
||||
}
|
||||
Meteor.methods({
|
||||
'assets.add'(assetTypeId, assetId, serial, condition, conditionDetails) {
|
||||
|
||||
Reference in New Issue
Block a user