diff --git a/plugins/activity-resources/src/components/TxView.svelte b/plugins/activity-resources/src/components/TxView.svelte index 8a85f397c76..d221c62ed93 100644 --- a/plugins/activity-resources/src/components/TxView.svelte +++ b/plugins/activity-resources/src/components/TxView.svelte @@ -65,6 +65,8 @@ let edit: boolean = false let showDiff: boolean = false + const currentAccount = getCurrentAccount() as PersonAccount + $: if (tx.tx._id !== ptx?.tx._id) { if (tx.tx.modifiedBy !== account?._id) { account = undefined @@ -326,7 +328,7 @@ {#if isComment}
- {#if tx.tx.modifiedBy === getCurrentAccount()._id} + {#if account?.person === currentAccount?.person} {/if}