fix: show status actions on DM (#1180)

Closes https://github.com/elk-zone/elk/issues/988
This commit is contained in:
webfansplz 2023-01-15 23:44:28 +08:00 committed by GitHub
parent 92b9746cd7
commit 9f19e56b0f
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -80,7 +80,6 @@ onReactivated(() => {
:status="status"
command
style="scroll-margin-top: 60px"
:actions="status.visibility !== 'direct'"
/>
<PublishWidget
v-if="currentUser"
@ -94,7 +93,7 @@ onReactivated(() => {
<template v-for="(comment, di) of context?.descendants" :key="comment.id">
<StatusCard
:status="comment"
:actions="comment.visibility !== 'direct'" context="account"
context="account"
:older="context?.descendants[di + 1]"
:newer="context?.descendants[di - 1]"
:has-newer="di === 0"