Modified Assets to update the assetId in the history records when it gets changed. Changing the assetId is handy when a sticker is removed, making it possible to just alter the ID instead of re-printing the sticker.

This commit is contained in:
2023-07-30 14:11:12 -07:00
parent 2cbb4a47b5
commit 4d20bf73b7
6 changed files with 408 additions and 142 deletions

View File

@@ -72,7 +72,7 @@ if (Meteor.isServer) {
else if(params.studentId) {
const student = Students.findOne({_id: params.studentId})
console.log(student)
// console.log(student)
if(student) query.email = student.email;
else query = undefined
}