aboutsummaryrefslogtreecommitdiffhomepage
path: root/client/src/app/+videos/+video-watch/shared/metadata/video-attributes.component.ts
diff options
context:
space:
mode:
authorChocobozzz <me@florianbigard.com>2021-07-29 15:35:41 +0200
committerChocobozzz <me@florianbigard.com>2021-07-29 15:35:41 +0200
commit7e8f19603ba314706141f58c9fe8a50eb0ffa7b2 (patch)
tree504524d6c987e0607c24aec8479e3f75b5fcc7bc /client/src/app/+videos/+video-watch/shared/metadata/video-attributes.component.ts
parentaf7fd04a6706fb781e4622167b08dc6c9376f06a (diff)
downloadPeerTube-7e8f19603ba314706141f58c9fe8a50eb0ffa7b2.tar.gz
PeerTube-7e8f19603ba314706141f58c9fe8a50eb0ffa7b2.tar.zst
PeerTube-7e8f19603ba314706141f58c9fe8a50eb0ffa7b2.zip
Redirect to search page for origin instance
Diffstat (limited to 'client/src/app/+videos/+video-watch/shared/metadata/video-attributes.component.ts')
-rw-r--r--client/src/app/+videos/+video-watch/shared/metadata/video-attributes.component.ts4
1 files changed, 4 insertions, 0 deletions
diff --git a/client/src/app/+videos/+video-watch/shared/metadata/video-attributes.component.ts b/client/src/app/+videos/+video-watch/shared/metadata/video-attributes.component.ts
index 5cb77f0c8..9429581ac 100644
--- a/client/src/app/+videos/+video-watch/shared/metadata/video-attributes.component.ts
+++ b/client/src/app/+videos/+video-watch/shared/metadata/video-attributes.component.ts
@@ -17,6 +17,10 @@ export class VideoAttributesComponent {
17 return this.video.url 17 return this.video.url
18 } 18 }
19 19
20 getVideoHost () {
21 return this.video.channel.host
22 }
23
20 getVideoTags () { 24 getVideoTags () {
21 if (!this.video || Array.isArray(this.video.tags) === false) return [] 25 if (!this.video || Array.isArray(this.video.tags) === false) return []
22 26