feat: dialog ui
This commit is contained in:
parent
feb8872f5f
commit
57eef8e77f
9 changed files with 29 additions and 16 deletions
|
@ -30,7 +30,6 @@ export function getDisplayName(account?: Account, options?: { rich?: boolean })
|
|||
const displayName = account?.displayName || account?.username || ''
|
||||
if (options?.rich)
|
||||
return displayName
|
||||
|
||||
return displayName.replace(/:([\w-]+?):/g, '')
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue