mirror of
https://github.com/flarum/core.git
synced 2025-07-25 10:41:24 +02:00
Fix up hidden post styles; don't show user card
This commit is contained in:
@@ -31,7 +31,7 @@ export default class PostHeaderUser extends Component {
|
||||
username()
|
||||
]
|
||||
),
|
||||
user && this.showCard()
|
||||
user && !post.isHidden() && this.showCard()
|
||||
? UserCard.component({user, className: 'user-card-popover fade', controlsButtonClass: 'btn btn-default btn-icon btn-sm btn-naked'})
|
||||
: ''
|
||||
]);
|
||||
|
Reference in New Issue
Block a user