Merge pull request #544 from sevonj/feat-inbox-message-jump
feat: Inbox jump to chat button
This commit is contained in:
1 file changed
+10
-10
@@ -133,16 +133,16 @@
|
||||
? $t('post.actions.more.markUnread')
|
||||
: $t('post.actions.more.markRead')}
|
||||
</Button>
|
||||
{#if item.type == 'comment_reply' || item.type == 'person_mention'}
|
||||
<Button
|
||||
href="/comment/{item.item.comment.id}"
|
||||
size="sm"
|
||||
rounding="pill"
|
||||
class="flex-shrink-0"
|
||||
>
|
||||
{$t('common.jump')}
|
||||
</Button>
|
||||
{/if}
|
||||
<Button
|
||||
href={item.type == 'comment_reply' || item.type == 'person_mention'
|
||||
? `/comment/${item.item.comment.id}`
|
||||
: `/inbox/messages/${item.item.private_message.creator_id}`}
|
||||
size="sm"
|
||||
rounding="pill"
|
||||
class="flex-shrink-0"
|
||||
>
|
||||
{$t('common.jump')}
|
||||
</Button>
|
||||
</div>
|
||||
</div>
|
||||
{/snippet}
|
||||
|
||||
Reference in new issue
Block a user