aboutsummaryrefslogtreecommitdiffhomepage
path: root/client/src/app/shared/shared-main
diff options
context:
space:
mode:
Diffstat (limited to 'client/src/app/shared/shared-main')
-rw-r--r--client/src/app/shared/shared-main/video/video.service.ts16
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 7810c4303..4fbc4f7f6 100644
--- a/client/src/app/shared/shared-main/video/video.service.ts
+++ b/client/src/app/shared/shared-main/video/video.service.ts
@@ -438,14 +438,14 @@ export class VideoService {
438 438
439 if (skipCount) newParams = newParams.set('skipCount', skipCount + '') 439 if (skipCount) newParams = newParams.set('skipCount', skipCount + '')
440 440
441 if (isLocal) newParams = newParams.set('isLocal', isLocal) 441 if (isLocal !== undefined) newParams = newParams.set('isLocal', isLocal)
442 if (include) newParams = newParams.set('include', include) 442 if (include !== undefined) newParams = newParams.set('include', include)
443 if (isLive) newParams = newParams.set('isLive', isLive) 443 if (isLive !== undefined) newParams = newParams.set('isLive', isLive)
444 if (nsfw) newParams = newParams.set('nsfw', nsfw) 444 if (nsfw !== undefined) newParams = newParams.set('nsfw', nsfw)
445 if (nsfwPolicy) newParams = newParams.set('nsfw', this.nsfwPolicyToParam(nsfwPolicy)) 445 if (nsfwPolicy !== undefined) newParams = newParams.set('nsfw', this.nsfwPolicyToParam(nsfwPolicy))
446 if (languageOneOf) newParams = this.restService.addArrayParams(newParams, 'languageOneOf', languageOneOf) 446 if (languageOneOf !== undefined) newParams = this.restService.addArrayParams(newParams, 'languageOneOf', languageOneOf)
447 if (categoryOneOf) newParams = this.restService.addArrayParams(newParams, 'categoryOneOf', categoryOneOf) 447 if (categoryOneOf !== undefined) newParams = this.restService.addArrayParams(newParams, 'categoryOneOf', categoryOneOf)
448 if (privacyOneOf) newParams = this.restService.addArrayParams(newParams, 'privacyOneOf', privacyOneOf) 448 if (privacyOneOf !== undefined) newParams = this.restService.addArrayParams(newParams, 'privacyOneOf', privacyOneOf)
449 449
450 return newParams 450 return newParams
451 } 451 }