1
0
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:
Toby Zerner
2015-05-06 08:33:00 +09:30
parent 496e11c003
commit 600e56d16a
2 changed files with 2 additions and 2 deletions

View File

@@ -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'})
: ''
]);