diff options
Diffstat (limited to 'client/src/app/+accounts/accounts.component.ts')
-rw-r--r-- | client/src/app/+accounts/accounts.component.ts | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/client/src/app/+accounts/accounts.component.ts b/client/src/app/+accounts/accounts.component.ts index abee0b9bb..e80314130 100644 --- a/client/src/app/+accounts/accounts.component.ts +++ b/client/src/app/+accounts/accounts.component.ts | |||
@@ -147,6 +147,10 @@ export class AccountsComponent implements OnInit, OnDestroy { | |||
147 | return this.videoChannels.length !== 0 | 147 | return this.videoChannels.length !== 0 |
148 | } | 148 | } |
149 | 149 | ||
150 | hasShowMoreDescription () { | ||
151 | return !this.accountDescriptionExpanded && this.accountDescriptionHTML.length > 100 | ||
152 | } | ||
153 | |||
150 | private async onAccount (account: Account) { | 154 | private async onAccount (account: Account) { |
151 | this.accountFollowerTitle = $localize`${account.followersCount} direct account followers` | 155 | this.accountFollowerTitle = $localize`${account.followersCount} direct account followers` |
152 | 156 | ||