mirror of
https://github.com/tooot-app/app
synced 2025-04-22 06:07:23 +02:00
Update status.ts
This commit is contained in:
parent
f3e1741629
commit
62df29a479
@ -202,7 +202,7 @@ const menuStatus = ({
|
|||||||
}),
|
}),
|
||||||
disabled: false,
|
disabled: false,
|
||||||
destructive: false,
|
destructive: false,
|
||||||
hidden: !ownAccount && !status.mentions?.filter(mention => mention.id === accountId).length
|
hidden: !ownAccount
|
||||||
},
|
},
|
||||||
title: t('componentContextMenu:status.mute.action', {
|
title: t('componentContextMenu:status.mute.action', {
|
||||||
defaultValue: 'false',
|
defaultValue: 'false',
|
||||||
@ -224,9 +224,9 @@ const menuStatus = ({
|
|||||||
type: 'pinned'
|
type: 'pinned'
|
||||||
}
|
}
|
||||||
}),
|
}),
|
||||||
disabled: false,
|
disabled: status.visibility !== 'public' && status.visibility !== 'unlisted',
|
||||||
destructive: false,
|
destructive: false,
|
||||||
hidden: !ownAccount || (status.visibility !== 'public' && status.visibility !== 'unlisted')
|
hidden: !ownAccount
|
||||||
},
|
},
|
||||||
title: t('componentContextMenu:status.pin.action', {
|
title: t('componentContextMenu:status.pin.action', {
|
||||||
defaultValue: 'false',
|
defaultValue: 'false',
|
||||||
|
Loading…
x
Reference in New Issue
Block a user