1
0
mirror of https://github.com/tooot-app/app synced 2025-01-03 13:10:23 +01:00

Update status.ts

This commit is contained in:
xmflsct 2023-01-01 18:54:42 +01:00
parent f3e1741629
commit 62df29a479

View File

@ -202,7 +202,7 @@ const menuStatus = ({
}),
disabled: false,
destructive: false,
hidden: !ownAccount && !status.mentions?.filter(mention => mention.id === accountId).length
hidden: !ownAccount
},
title: t('componentContextMenu:status.mute.action', {
defaultValue: 'false',
@ -224,9 +224,9 @@ const menuStatus = ({
type: 'pinned'
}
}),
disabled: false,
disabled: status.visibility !== 'public' && status.visibility !== 'unlisted',
destructive: false,
hidden: !ownAccount || (status.visibility !== 'public' && status.visibility !== 'unlisted')
hidden: !ownAccount
},
title: t('componentContextMenu:status.pin.action', {
defaultValue: 'false',