fix: show status actions on DM (#1180)

Closes https://github.com/elk-zone/elk/issues/988
pull/1183/head
webfansplz 2023-01-15 23:44:28 +08:00 zatwierdzone przez GitHub
rodzic 92b9746cd7
commit 9f19e56b0f
Nie znaleziono w bazie danych klucza dla tego podpisu
ID klucza GPG: 4AEE18F83AFDEB23
1 zmienionych plików z 1 dodań i 2 usunięć

Wyświetl plik

@ -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"