parent
c0d0b4dd36
commit
3d8cdcd649
|
@ -62,16 +62,17 @@ export default {
|
||||||
// end copypasta (StatusOptionsDialog.html / AccountProfileOptionsDialog.html)
|
// end copypasta (StatusOptionsDialog.html / AccountProfileOptionsDialog.html)
|
||||||
//
|
//
|
||||||
pinLabel: ({pinned, isUser}) => isUser ? (pinned ? 'Unpin from profile' : 'Pin to profile') : '',
|
pinLabel: ({pinned, isUser}) => isUser ? (pinned ? 'Unpin from profile' : 'Pin to profile') : '',
|
||||||
|
visibility: ({status}) => status.visibility,
|
||||||
items: ({
|
items: ({
|
||||||
blockLabel, blocking, blockIcon, muteLabel, muteIcon, followLabel, followIcon,
|
blockLabel, blocking, blockIcon, muteLabel, muteIcon, followLabel, followIcon,
|
||||||
following, followRequested, pinLabel, isUser
|
following, followRequested, pinLabel, isUser, visibility
|
||||||
}) => ([
|
}) => ([
|
||||||
isUser && {
|
isUser && {
|
||||||
key: 'delete',
|
key: 'delete',
|
||||||
label: 'Delete',
|
label: 'Delete',
|
||||||
icon: '#fa-trash'
|
icon: '#fa-trash'
|
||||||
},
|
},
|
||||||
isUser && {
|
visibility !== 'private' && visibility !== 'direct' && isUser && {
|
||||||
key: 'pin',
|
key: 'pin',
|
||||||
label: pinLabel,
|
label: pinLabel,
|
||||||
icon: '#fa-thumb-tack'
|
icon: '#fa-thumb-tack'
|
||||||
|
|
Loading…
Reference in New Issue