mirror of
https://github.com/versia-pub/frontend.git
synced 2026-03-13 03:29:16 +01:00
fix: 🐛 Properly render emojis in display names
This commit is contained in:
parent
9dede81d20
commit
7c63b81129
2 changed files with 7 additions and 3 deletions
|
|
@ -101,7 +101,10 @@ export const useParsedAccount = (
|
|||
account: MaybeRef<Account | undefined | null>,
|
||||
settings: MaybeRef<Settings>,
|
||||
) => {
|
||||
const displayName = computed(() => toValue(account)?.display_name ?? "");
|
||||
const displayName = computed(
|
||||
() =>
|
||||
toValue(account)?.display_name ?? toValue(account)?.username ?? "",
|
||||
);
|
||||
const note = computed(() => toValue(account)?.note ?? "");
|
||||
const fields = computed(() => toValue(account)?.fields ?? []);
|
||||
const emojis = computed(() => toValue(account)?.emojis ?? []);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue