Fixed bugs.
This commit is contained in:
@@ -118,7 +118,7 @@ if (Meteor.isServer) {
|
||||
}
|
||||
|
||||
if (next.asset) {
|
||||
next.assetType = AssetTypes.findOne({_id: next.asset.assetType})
|
||||
next.assetType = AssetTypes.findOne({_id: next.asset.assetTypeId})
|
||||
|
||||
if (next.asset.assigneeId) {
|
||||
next.assignedTo = next.asset.assigneeType === "Student" ? Students.findOne({_id: next.asset.assigneeId}) : Staff.findOne({_id: next.asset.assigneeId})
|
||||
|
||||
Reference in New Issue
Block a user