activity employee fix (#2441)

Signed-off-by: Denis Bykhov <bykhov.denis@gmail.com>
This commit is contained in:
Denis Bykhov 2022-12-15 11:45:19 +06:00 committed by GitHub
parent a9d839245d
commit bae3559f10
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -56,9 +56,11 @@
let edit = false
$: if (tx.tx._id !== ptx?.tx._id) {
if (tx.tx.modifiedBy !== employee?._id) {
employee = undefined
}
viewlet = undefined
props = undefined
employee = undefined
model = []
ptx = tx
}