mirror of
https://github.com/discourse/discourse.git
synced 2024-11-27 12:23:36 +08:00
FIX: Use bio_excerpt
when checking for presence (#9148)
When `enable_new_user_card_route` is enabled, only `bio_excerpt` is serialized for user cards. `bio_cooked` is only loaded on the main user route.
This commit is contained in:
parent
174764be25
commit
ae3220fb88
|
@ -40,7 +40,7 @@ export default Component.extend(CardContentsBase, CanCheckEmails, CleansUp, {
|
|||
showDelete: and("viewingAdmin", "showName", "user.canBeDeleted"),
|
||||
linkWebsite: not("user.isBasic"),
|
||||
hasLocationOrWebsite: or("user.location", "user.website_name"),
|
||||
isSuspendedOrHasBio: or("user.suspend_reason", "user.bio_cooked"),
|
||||
isSuspendedOrHasBio: or("user.suspend_reason", "user.bio_excerpt"),
|
||||
showCheckEmail: and("user.staged", "canCheckEmails"),
|
||||
|
||||
user: null,
|
||||
|
|
Loading…
Reference in New Issue
Block a user