fix: show status actions on DM (#1180)

Closes https://github.com/elk-zone/elk/issues/988
zio/stable
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
1 changed files with 1 additions and 2 deletions

View File

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