diff options
Diffstat (limited to 'client')
-rw-r--r-- | client/src/app/shared/shared-main/video/video.service.ts | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/client/src/app/shared/shared-main/video/video.service.ts b/client/src/app/shared/shared-main/video/video.service.ts index 142367506..9efa1a24e 100644 --- a/client/src/app/shared/shared-main/video/video.service.ts +++ b/client/src/app/shared/shared-main/video/video.service.ts | |||
@@ -423,14 +423,14 @@ export class VideoService { | |||
423 | 423 | ||
424 | if (skipCount) newParams = newParams.set('skipCount', skipCount + '') | 424 | if (skipCount) newParams = newParams.set('skipCount', skipCount + '') |
425 | 425 | ||
426 | if (isLocal) newParams = newParams.set('isLocal', isLocal) | 426 | if (isLocal !== undefined) newParams = newParams.set('isLocal', isLocal) |
427 | if (include) newParams = newParams.set('include', include) | 427 | if (include !== undefined) newParams = newParams.set('include', include) |
428 | if (isLive) newParams = newParams.set('isLive', isLive) | 428 | if (isLive !== undefined) newParams = newParams.set('isLive', isLive) |
429 | if (nsfw) newParams = newParams.set('nsfw', nsfw) | 429 | if (nsfw !== undefined) newParams = newParams.set('nsfw', nsfw) |
430 | if (nsfwPolicy) newParams = newParams.set('nsfw', this.nsfwPolicyToParam(nsfwPolicy)) | 430 | if (nsfwPolicy !== undefined) newParams = newParams.set('nsfw', this.nsfwPolicyToParam(nsfwPolicy)) |
431 | if (languageOneOf) newParams = this.restService.addArrayParams(newParams, 'languageOneOf', languageOneOf) | 431 | if (languageOneOf !== undefined) newParams = this.restService.addArrayParams(newParams, 'languageOneOf', languageOneOf) |
432 | if (categoryOneOf) newParams = this.restService.addArrayParams(newParams, 'categoryOneOf', categoryOneOf) | 432 | if (categoryOneOf !== undefined) newParams = this.restService.addArrayParams(newParams, 'categoryOneOf', categoryOneOf) |
433 | if (privacyOneOf) newParams = this.restService.addArrayParams(newParams, 'privacyOneOf', privacyOneOf) | 433 | if (privacyOneOf !== undefined) newParams = this.restService.addArrayParams(newParams, 'privacyOneOf', privacyOneOf) |
434 | 434 | ||
435 | return newParams | 435 | return newParams |
436 | } | 436 | } |