aboutsummaryrefslogtreecommitdiffhomepage
path: root/client/src/app/+admin
diff options
context:
space:
mode:
authorRigel Kent <sendmemail@rigelk.eu>2020-04-19 20:42:33 +0200
committerRigel Kent <par@rigelk.eu>2020-05-01 16:41:02 +0200
commit042daa7072c0168b876db2badfc838dba7ac2284 (patch)
treed4723777bc9934aa3409a2c3b2728b1b4b3b7898 /client/src/app/+admin
parentd384061366ae06294c0e222f0fb7ec4f0a172f39 (diff)
downloadPeerTube-042daa7072c0168b876db2badfc838dba7ac2284.tar.gz
PeerTube-042daa7072c0168b876db2badfc838dba7ac2284.tar.zst
PeerTube-042daa7072c0168b876db2badfc838dba7ac2284.zip
Fixing circular dependency and table variable access
Diffstat (limited to 'client/src/app/+admin')
-rw-r--r--client/src/app/+admin/moderation/video-abuse-list/video-abuse-list.component.ts4
1 files changed, 2 insertions, 2 deletions
diff --git a/client/src/app/+admin/moderation/video-abuse-list/video-abuse-list.component.ts b/client/src/app/+admin/moderation/video-abuse-list/video-abuse-list.component.ts
index e4e78cdf7..0c727ae90 100644
--- a/client/src/app/+admin/moderation/video-abuse-list/video-abuse-list.component.ts
+++ b/client/src/app/+admin/moderation/video-abuse-list/video-abuse-list.component.ts
@@ -223,7 +223,7 @@ export class VideoAbuseListComponent extends RestTable implements OnInit {
223 } 223 }
224 224
225 getVideoEmbed (videoAbuse: VideoAbuse) { 225 getVideoEmbed (videoAbuse: VideoAbuse) {
226 const absoluteAPIUrl = 'http://localhost:9000' || getAbsoluteAPIUrl() // TODO 226 const absoluteAPIUrl = getAbsoluteAPIUrl()
227 const embedUrl = buildVideoLink({ 227 const embedUrl = buildVideoLink({
228 baseUrl: absoluteAPIUrl + '/videos/embed/' + videoAbuse.video.uuid, 228 baseUrl: absoluteAPIUrl + '/videos/embed/' + videoAbuse.video.uuid,
229 warningTitle: false 229 warningTitle: false
@@ -262,7 +262,7 @@ export class VideoAbuseListComponent extends RestTable implements OnInit {
262 protected loadData () { 262 protected loadData () {
263 return this.videoAbuseService.getVideoAbuses({ 263 return this.videoAbuseService.getVideoAbuses({
264 pagination: this.pagination, 264 pagination: this.pagination,
265 sort: this.sort, 265 sort: this.sort,
266 search: this.search 266 search: this.search
267 }).subscribe( 267 }).subscribe(
268 async resultList => { 268 async resultList => {