diff options
Diffstat (limited to 'client/src/app/+accounts/account-about/account-about.component.ts')
-rw-r--r-- | client/src/app/+accounts/account-about/account-about.component.ts | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/client/src/app/+accounts/account-about/account-about.component.ts b/client/src/app/+accounts/account-about/account-about.component.ts index 8c01e4007..6cf846d72 100644 --- a/client/src/app/+accounts/account-about/account-about.component.ts +++ b/client/src/app/+accounts/account-about/account-about.component.ts | |||
@@ -2,7 +2,6 @@ import { Subscription } from 'rxjs' | |||
2 | import { Component, OnDestroy, OnInit } from '@angular/core' | 2 | import { Component, OnDestroy, OnInit } from '@angular/core' |
3 | import { MarkdownService } from '@app/core' | 3 | import { MarkdownService } from '@app/core' |
4 | import { Account, AccountService } from '@app/shared/shared-main' | 4 | import { Account, AccountService } from '@app/shared/shared-main' |
5 | import { I18n } from '@ngx-translate/i18n-polyfill' | ||
6 | 5 | ||
7 | @Component({ | 6 | @Component({ |
8 | selector: 'my-account-about', | 7 | selector: 'my-account-about', |
@@ -16,7 +15,6 @@ export class AccountAboutComponent implements OnInit, OnDestroy { | |||
16 | private accountSub: Subscription | 15 | private accountSub: Subscription |
17 | 16 | ||
18 | constructor ( | 17 | constructor ( |
19 | private i18n: I18n, | ||
20 | private accountService: AccountService, | 18 | private accountService: AccountService, |
21 | private markdownService: MarkdownService | 19 | private markdownService: MarkdownService |
22 | ) { } | 20 | ) { } |
@@ -37,6 +35,6 @@ export class AccountAboutComponent implements OnInit, OnDestroy { | |||
37 | getAccountDescription () { | 35 | getAccountDescription () { |
38 | if (this.descriptionHTML) return this.descriptionHTML | 36 | if (this.descriptionHTML) return this.descriptionHTML |
39 | 37 | ||
40 | return this.i18n('No description') | 38 | return $localize`No description` |
41 | } | 39 | } |
42 | } | 40 | } |