mirror of https://github.com/Chocobozzz/PeerTube
Fixing circular dependency and table variable access
parent
d384061366
commit
042daa7072
|
@ -223,7 +223,7 @@ export class VideoAbuseListComponent extends RestTable implements OnInit {
|
|||
}
|
||||
|
||||
getVideoEmbed (videoAbuse: VideoAbuse) {
|
||||
const absoluteAPIUrl = 'http://localhost:9000' || getAbsoluteAPIUrl() // TODO
|
||||
const absoluteAPIUrl = getAbsoluteAPIUrl()
|
||||
const embedUrl = buildVideoLink({
|
||||
baseUrl: absoluteAPIUrl + '/videos/embed/' + videoAbuse.video.uuid,
|
||||
warningTitle: false
|
||||
|
@ -262,7 +262,7 @@ export class VideoAbuseListComponent extends RestTable implements OnInit {
|
|||
protected loadData () {
|
||||
return this.videoAbuseService.getVideoAbuses({
|
||||
pagination: this.pagination,
|
||||
sort: this.sort,
|
||||
sort: this.sort,
|
||||
search: this.search
|
||||
}).subscribe(
|
||||
async resultList => {
|
||||
|
|
|
@ -11,7 +11,7 @@ export abstract class RestTable {
|
|||
abstract sort: SortMeta
|
||||
abstract pagination: RestPagination
|
||||
|
||||
protected search: string
|
||||
search: string
|
||||
private searchStream: Subject<string>
|
||||
|
||||
abstract getIdentifier (): string
|
||||
|
|
Loading…
Reference in New Issue