aboutsummaryrefslogtreecommitdiffhomepage
path: root/client/src/app/+remote-interaction
diff options
context:
space:
mode:
Diffstat (limited to 'client/src/app/+remote-interaction')
-rw-r--r--client/src/app/+remote-interaction/remote-interaction.component.ts4
1 files changed, 2 insertions, 2 deletions
diff --git a/client/src/app/+remote-interaction/remote-interaction.component.ts b/client/src/app/+remote-interaction/remote-interaction.component.ts
index 6ddf5b58d..293f7edad 100644
--- a/client/src/app/+remote-interaction/remote-interaction.component.ts
+++ b/client/src/app/+remote-interaction/remote-interaction.component.ts
@@ -1,7 +1,7 @@
1import { forkJoin } from 'rxjs' 1import { forkJoin } from 'rxjs'
2import { Component, OnInit } from '@angular/core' 2import { Component, OnInit } from '@angular/core'
3import { ActivatedRoute, Router } from '@angular/router' 3import { ActivatedRoute, Router } from '@angular/router'
4import { VideoChannel } from '@app/shared/shared-main' 4import { Video, VideoChannel } from '@app/shared/shared-main'
5import { SearchService } from '@app/shared/shared-search' 5import { SearchService } from '@app/shared/shared-search'
6 6
7@Component({ 7@Component({
@@ -39,7 +39,7 @@ export class RemoteInteractionComponent implements OnInit {
39 if (videoResult.data.length !== 0) { 39 if (videoResult.data.length !== 0) {
40 const video = videoResult.data[0] 40 const video = videoResult.data[0]
41 41
42 redirectUrl = '/w/' + video.uuid 42 redirectUrl = Video.buildWatchUrl(video)
43 } else if (channelResult.data.length !== 0) { 43 } else if (channelResult.data.length !== 0) {
44 const channel = new VideoChannel(channelResult.data[0]) 44 const channel = new VideoChannel(channelResult.data[0])
45 45