aboutsummaryrefslogtreecommitdiffhomepage
path: root/client/src/app/+videos
diff options
context:
space:
mode:
authorChocobozzz <me@florianbigard.com>2021-06-04 14:39:47 +0200
committerChocobozzz <me@florianbigard.com>2021-06-04 15:45:44 +0200
commitfc21ef5c62d845576a916414468b3a57370a57b2 (patch)
tree818102bc909210870f9a28692361f7b5cbe219de /client/src/app/+videos
parent2989628b7913383b39ac34c7db8666a21f8e5037 (diff)
downloadPeerTube-fc21ef5c62d845576a916414468b3a57370a57b2.tar.gz
PeerTube-fc21ef5c62d845576a916414468b3a57370a57b2.tar.zst
PeerTube-fc21ef5c62d845576a916414468b3a57370a57b2.zip
Speed up plugins loading
Diffstat (limited to 'client/src/app/+videos')
-rw-r--r--client/src/app/+videos/+video-edit/shared/video-edit.component.ts1
-rw-r--r--client/src/app/+videos/+video-watch/video-watch.component.ts1
2 files changed, 0 insertions, 2 deletions
diff --git a/client/src/app/+videos/+video-edit/shared/video-edit.component.ts b/client/src/app/+videos/+video-edit/shared/video-edit.component.ts
index 52801802b..c3299cade 100644
--- a/client/src/app/+videos/+video-edit/shared/video-edit.component.ts
+++ b/client/src/app/+videos/+video-edit/shared/video-edit.component.ts
@@ -194,7 +194,6 @@ export class VideoEditComponent implements OnInit, OnDestroy {
194 } 194 }
195 }) 195 })
196 196
197
198 this.serverConfig = this.serverService.getHTMLConfig() 197 this.serverConfig = this.serverService.getHTMLConfig()
199 198
200 this.initialVideoCaptions = this.videoCaptions.map(c => c.language.id) 199 this.initialVideoCaptions = this.videoCaptions.map(c => c.language.id)
diff --git a/client/src/app/+videos/+video-watch/video-watch.component.ts b/client/src/app/+videos/+video-watch/video-watch.component.ts
index 51d486ea5..3fdbc0184 100644
--- a/client/src/app/+videos/+video-watch/video-watch.component.ts
+++ b/client/src/app/+videos/+video-watch/video-watch.component.ts
@@ -181,7 +181,6 @@ export class VideoWatchComponent implements OnInit, OnDestroy {
181 this.hasAlreadyAcceptedPrivacyConcern = true 181 this.hasAlreadyAcceptedPrivacyConcern = true
182 } 182 }
183 183
184
185 this.paramsSub = this.route.params.subscribe(routeParams => { 184 this.paramsSub = this.route.params.subscribe(routeParams => {
186 const videoId = routeParams[ 'videoId' ] 185 const videoId = routeParams[ 'videoId' ]
187 if (videoId) this.loadVideo(videoId) 186 if (videoId) this.loadVideo(videoId)