Fix account videos URL when scrolling

pull/794/merge
Chocobozzz 2018-07-11 10:27:48 +02:00
parent 672ce6ecf4
commit c7b514157b
No known key found for this signature in database
GPG Key ID: 583A612D890159BE
1 changed files with 2 additions and 2 deletions

View File

@ -25,7 +25,7 @@ import { ScreenService } from '@app/shared/misc/screen.service'
export class AccountVideosComponent extends AbstractVideoList implements OnInit, OnDestroy {
titlePage: string
marginContent = false // Disable margin
currentRoute = '/account/videos'
currentRoute = '/accounts/videos'
loadOnInit = false
private account: Account
@ -55,7 +55,7 @@ export class AccountVideosComponent extends AbstractVideoList implements OnInit,
this.accountSub = this.accountService.accountLoaded
.subscribe(account => {
this.account = account
this.currentRoute = '/account/' + this.account.nameWithHost + '/videos'
this.currentRoute = '/accounts/' + this.account.nameWithHost + '/videos'
this.reloadVideos()
this.generateSyndicationList()