diff --git a/plugins/activity-resources/src/components/TxView.svelte b/plugins/activity-resources/src/components/TxView.svelte index d5dbceb881..6fd9f67237 100644 --- a/plugins/activity-resources/src/components/TxView.svelte +++ b/plugins/activity-resources/src/components/TxView.svelte @@ -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 }