aboutsummaryrefslogtreecommitdiffhomepage
path: root/client/src/app/+videos/+video-watch/shared/information
diff options
context:
space:
mode:
authorChocobozzz <me@florianbigard.com>2021-08-25 16:14:11 +0200
committerChocobozzz <me@florianbigard.com>2021-08-26 10:01:42 +0200
commit98ab5dc81048d47d08a231f17698128f959e59b2 (patch)
tree7f74f835dc35d9f72918c56857f7f28b70d7053f /client/src/app/+videos/+video-watch/shared/information
parent851675c5591dcab1070183f0ed1b1a788de07d2c (diff)
downloadPeerTube-98ab5dc81048d47d08a231f17698128f959e59b2.tar.gz
PeerTube-98ab5dc81048d47d08a231f17698128f959e59b2.tar.zst
PeerTube-98ab5dc81048d47d08a231f17698128f959e59b2.zip
Remove useless async
Diffstat (limited to 'client/src/app/+videos/+video-watch/shared/information')
-rw-r--r--client/src/app/+videos/+video-watch/shared/information/privacy-concerns.component.ts3
1 files changed, 2 insertions, 1 deletions
diff --git a/client/src/app/+videos/+video-watch/shared/information/privacy-concerns.component.ts b/client/src/app/+videos/+video-watch/shared/information/privacy-concerns.component.ts
index ef5c8ed87..b1e8bf989 100644
--- a/client/src/app/+videos/+video-watch/shared/information/privacy-concerns.component.ts
+++ b/client/src/app/+videos/+video-watch/shared/information/privacy-concerns.component.ts
@@ -21,8 +21,9 @@ export class PrivacyConcernsComponent implements OnInit {
21 private serverService: ServerService 21 private serverService: ServerService
22 ) { } 22 ) { }
23 23
24 async ngOnInit () { 24 ngOnInit () {
25 this.serverConfig = this.serverService.getHTMLConfig() 25 this.serverConfig = this.serverService.getHTMLConfig()
26
26 if ( 27 if (
27 isWebRTCDisabled() || 28 isWebRTCDisabled() ||
28 this.serverConfig.tracker.enabled === false || 29 this.serverConfig.tracker.enabled === false ||