fix: hide duplicated status actions items on details page in zen mode (#2731)

zio/stable
TAKAHASHI Shuuji 2024-04-01 14:25:53 +09:00 committed by GitHub
parent eee671cdc3
commit d8d9975756
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 2 additions and 2 deletions

View File

@ -144,7 +144,7 @@ function showFavoritedAndBoostedBy() {
<template #popper>
<div flex="~ col">
<template v-if="getPreferences(userSettings, 'zenMode')">
<template v-if="getPreferences(userSettings, 'zenMode') && !details">
<CommonDropdownItem
:text="$t('action.reply')"
icon="i-ri:chat-1-line"

View File

@ -31,7 +31,7 @@ useHydratedHead({
<template>
<div :id="`status-${status.id}`" flex flex-col gap-2 pt2 pb1 ps-3 pe-4 relative :lang="status.language ?? undefined" aria-roledescription="status-details">
<StatusActionsMore :status="status" absolute inset-ie-2 top-2 @after-edit="$emit('refetchStatus')" />
<StatusActionsMore :status="status" :details="true" absolute inset-ie-2 top-2 @after-edit="$emit('refetchStatus')" />
<NuxtLink :to="getAccountRoute(status.account)" rounded-full hover:bg-active transition-100 pe5 me-a>
<AccountHoverWrapper :account="status.account">
<AccountInfo :account="status.account" />