aboutsummaryrefslogtreecommitdiffhomepage
path: root/client/src/app
diff options
context:
space:
mode:
Diffstat (limited to 'client/src/app')
-rw-r--r--client/src/app/shared/shared-main/misc/channels-setup-message.component.ts10
1 files changed, 3 insertions, 7 deletions
diff --git a/client/src/app/shared/shared-main/misc/channels-setup-message.component.ts b/client/src/app/shared/shared-main/misc/channels-setup-message.component.ts
index 50b98841a..b21507a34 100644
--- a/client/src/app/shared/shared-main/misc/channels-setup-message.component.ts
+++ b/client/src/app/shared/shared-main/misc/channels-setup-message.component.ts
@@ -16,14 +16,10 @@ export class ChannelsSetupMessageComponent implements OnInit {
16 private authService: AuthService 16 private authService: AuthService
17 ) {} 17 ) {}
18 18
19 get userInformationLoaded () {
20 return this.authService.userInformationLoaded
21 }
22
23 get hasChannelNotConfigured () { 19 get hasChannelNotConfigured () {
24 return this.user.videoChannels 20 if (!this.user.videoChannels) return
25 .filter((channel: VideoChannel) => (!channel.avatar || !channel.description)) 21
26 .length > 0 22 return this.user.videoChannels.filter((channel: VideoChannel) => (!channel.avatar || !channel.description)).length > 0
27 } 23 }
28 24
29 ngOnInit () { 25 ngOnInit () {