diff options
author | Chocobozzz <me@florianbigard.com> | 2021-11-02 11:50:03 +0100 |
---|---|---|
committer | Chocobozzz <me@florianbigard.com> | 2021-11-02 11:50:03 +0100 |
commit | 231ff4af3bdb864d6bc66e487b12275e5f1fb44f (patch) | |
tree | b8537a67a26d86dcf68eb871ada8e17e286517e2 /client/src/app/+videos/+video-watch | |
parent | 61f85385bbd281e34573e250b2625860fd6a1408 (diff) | |
download | PeerTube-231ff4af3bdb864d6bc66e487b12275e5f1fb44f.tar.gz PeerTube-231ff4af3bdb864d6bc66e487b12275e5f1fb44f.tar.zst PeerTube-231ff4af3bdb864d6bc66e487b12275e5f1fb44f.zip |
Add ability to exclude muted accounts
Diffstat (limited to 'client/src/app/+videos/+video-watch')
-rw-r--r-- | client/src/app/+videos/+video-watch/video-watch.component.ts | 2 |
1 files changed, 1 insertions, 1 deletions
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( |