aboutsummaryrefslogtreecommitdiffhomepage
path: root/client/src/app/+videos
diff options
context:
space:
mode:
authorChocobozzz <me@florianbigard.com>2021-11-02 11:50:03 +0100
committerChocobozzz <me@florianbigard.com>2021-11-02 11:50:03 +0100
commit231ff4af3bdb864d6bc66e487b12275e5f1fb44f (patch)
treeb8537a67a26d86dcf68eb871ada8e17e286517e2 /client/src/app/+videos
parent61f85385bbd281e34573e250b2625860fd6a1408 (diff)
downloadPeerTube-231ff4af3bdb864d6bc66e487b12275e5f1fb44f.tar.gz
PeerTube-231ff4af3bdb864d6bc66e487b12275e5f1fb44f.tar.zst
PeerTube-231ff4af3bdb864d6bc66e487b12275e5f1fb44f.zip
Add ability to exclude muted accounts
Diffstat (limited to 'client/src/app/+videos')
-rw-r--r--client/src/app/+videos/+video-edit/video-add-components/video-upload.component.ts2
-rw-r--r--client/src/app/+videos/+video-watch/video-watch.component.ts2
2 files changed, 2 insertions, 2 deletions
diff --git a/client/src/app/+videos/+video-edit/video-add-components/video-upload.component.ts b/client/src/app/+videos/+video-edit/video-add-components/video-upload.component.ts
index 91d89a535..7a7a898a1 100644
--- a/client/src/app/+videos/+video-edit/video-add-components/video-upload.component.ts
+++ b/client/src/app/+videos/+video-edit/video-add-components/video-upload.component.ts
@@ -49,7 +49,7 @@ export class VideoUploadComponent extends VideoSend implements OnInit, OnDestroy
49 schedulePublicationPossible = false 49 schedulePublicationPossible = false
50 50
51 // So that it can be accessed in the template 51 // So that it can be accessed in the template
52 protected readonly BASE_VIDEO_UPLOAD_URL = VideoService.BASE_VIDEO_URL + 'upload-resumable' 52 protected readonly BASE_VIDEO_UPLOAD_URL = VideoService.BASE_VIDEO_URL + '/upload-resumable'
53 53
54 private uploadxOptions: UploadxOptions 54 private uploadxOptions: UploadxOptions
55 private isUpdatingVideo = false 55 private isUpdatingVideo = false
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 f0d159be3..5ca9d5fa9 100644
--- a/client/src/app/+videos/+video-watch/video-watch.component.ts
+++ b/client/src/app/+videos/+video-watch/video-watch.component.ts
@@ -288,7 +288,7 @@ export class VideoWatchComponent implements OnInit, OnDestroy {
288 private async handleRequestError (err: any) { 288 private async handleRequestError (err: any) {
289 const errorBody = err.body as PeerTubeProblemDocument 289 const errorBody = err.body as PeerTubeProblemDocument
290 290
291 if (errorBody.code === ServerErrorCode.DOES_NOT_RESPECT_FOLLOW_CONSTRAINTS && errorBody.originUrl) { 291 if (errorBody?.code === ServerErrorCode.DOES_NOT_RESPECT_FOLLOW_CONSTRAINTS && errorBody.originUrl) {
292 const originUrl = errorBody.originUrl + (window.location.search ?? '') 292 const originUrl = errorBody.originUrl + (window.location.search ?? '')
293 293
294 const res = await this.confirmService.confirm( 294 const res = await this.confirmService.confirm(