diff options
author | Chocobozzz <me@florianbigard.com> | 2021-03-26 15:53:18 +0100 |
---|---|---|
committer | Chocobozzz <chocobozzz@cpy.re> | 2021-03-31 09:05:51 +0200 |
commit | 900f7820814b95b07ef0bcac04036a95abfbe060 (patch) | |
tree | 4033df58ed2da815f5d3d26313a1c50668d49d54 /client/src/app/+accounts/accounts.component.ts | |
parent | 67264e060b6068399dae9a67abae035a73b84af1 (diff) | |
download | PeerTube-900f7820814b95b07ef0bcac04036a95abfbe060.tar.gz PeerTube-900f7820814b95b07ef0bcac04036a95abfbe060.tar.zst PeerTube-900f7820814b95b07ef0bcac04036a95abfbe060.zip |
Redesign account's channels page
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 a00063129..abee0b9bb 100644 --- a/client/src/app/+accounts/accounts.component.ts +++ b/client/src/app/+accounts/accounts.component.ts | |||
@@ -143,6 +143,10 @@ export class AccountsComponent implements OnInit, OnDestroy { | |||
143 | this.hideMenu = this.isInSmallView() && displayed | 143 | this.hideMenu = this.isInSmallView() && displayed |
144 | } | 144 | } |
145 | 145 | ||
146 | hasVideoChannels () { | ||
147 | return this.videoChannels.length !== 0 | ||
148 | } | ||
149 | |||
146 | private async onAccount (account: Account) { | 150 | private async onAccount (account: Account) { |
147 | this.accountFollowerTitle = $localize`${account.followersCount} direct account followers` | 151 | this.accountFollowerTitle = $localize`${account.followersCount} direct account followers` |
148 | 152 | ||