links: ListOverflowItem[] = []
hideMenu = false
- accountFollowerTitle = ''
-
accountVideosCount: number
accountDescriptionHTML = ''
accountDescriptionExpanded = false
this.notifier.success($localize`Username copied`)
}
- subscribersDisplayFor (count: number) {
- if (count === 1) return $localize`1 subscriber`
-
- return $localize`${count} subscribers`
- }
-
searchChanged (search: string) {
const queryParams = { search }
}
private async onAccount (account: Account) {
- this.accountFollowerTitle = $localize`${account.followersCount} direct account followers`
-
- this.accountDescriptionHTML = await this.markdown.textMarkdownToHTML(account.description)
+ this.accountDescriptionHTML = await this.markdown.textMarkdownToHTML({
+ markdown: account.description,
+ withEmoji: true,
+ withHtml: true
+ })
// After the markdown renderer to avoid layout changes
this.account = account
}
private showReportModal () {
- this.accountReportModal.show()
+ this.accountReportModal.show(this.account)
}
private loadUserIfNeeded (account: Account) {