(replying = !replying)} disabled={comment.post.locked} >
Reply
{#if $profile?.user && (amMod($profile?.user, comment.community) || isAdmin($profile.user))}
{/if}
{$t('comment.actions.label')}
{ navigator.share?.({ url: comment.comment.ap_id, }) ?? navigator.clipboard.writeText(comment.comment.ap_id) }} >
{$t('comment.actions.link')}
{#if $profile?.jwt} {#if comment.creator.id == $profile.user?.local_user_view.person.id}
dispatcher('edit', comment)}>
{$t('post.actions.more.edit')}
{/if}
{ if ($profile?.jwt) comment.saved = await save(comment, !comment.saved, $profile.jwt) }} >
{comment.saved ? $t('post.actions.unsave') : $t('post.actions.save')}
{#if $profile?.user && $profile.jwt && $profile.user.local_user_view.person.id == comment.creator.id}
{ if ($profile?.jwt) comment.comment.deleted = await deleteItem( comment, !comment.comment.deleted, $profile.jwt ) }} >
{comment.comment.deleted ? $t('post.actions.more.restore') : $t('post.actions.more.delete')}
{/if} {#if $profile.jwt && $profile.user?.local_user_view.person.id != comment.creator.id}
report(comment)} color="danger-subtle">
{$t('moderation.report')}
{/if} {/if}