Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 3 additions & 1 deletion plugins/activity-resources/src/components/TxView.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -326,7 +328,7 @@
{#if isComment}
<div class="buttons-group">
<!-- <Like /> -->
{#if tx.tx.modifiedBy === getCurrentAccount()._id}
{#if account?.person === currentAccount?.person}
<ActionIcon icon={IconMoreH} size={'small'} action={showMenu} />
{/if}
</div>
Expand Down