mirror of https://github.com/Chocobozzz/PeerTube
Fix account videos URL when scrolling
parent
672ce6ecf4
commit
c7b514157b
|
@ -25,7 +25,7 @@ import { ScreenService } from '@app/shared/misc/screen.service'
|
||||||
export class AccountVideosComponent extends AbstractVideoList implements OnInit, OnDestroy {
|
export class AccountVideosComponent extends AbstractVideoList implements OnInit, OnDestroy {
|
||||||
titlePage: string
|
titlePage: string
|
||||||
marginContent = false // Disable margin
|
marginContent = false // Disable margin
|
||||||
currentRoute = '/account/videos'
|
currentRoute = '/accounts/videos'
|
||||||
loadOnInit = false
|
loadOnInit = false
|
||||||
|
|
||||||
private account: Account
|
private account: Account
|
||||||
|
@ -55,7 +55,7 @@ export class AccountVideosComponent extends AbstractVideoList implements OnInit,
|
||||||
this.accountSub = this.accountService.accountLoaded
|
this.accountSub = this.accountService.accountLoaded
|
||||||
.subscribe(account => {
|
.subscribe(account => {
|
||||||
this.account = account
|
this.account = account
|
||||||
this.currentRoute = '/account/' + this.account.nameWithHost + '/videos'
|
this.currentRoute = '/accounts/' + this.account.nameWithHost + '/videos'
|
||||||
|
|
||||||
this.reloadVideos()
|
this.reloadVideos()
|
||||||
this.generateSyndicationList()
|
this.generateSyndicationList()
|
||||||
|
|
Loading…
Reference in New Issue