]> git.immae.eu Git - github/Chocobozzz/PeerTube.git/commitdiff
Fix account videos URL when scrolling
authorChocobozzz <me@florianbigard.com>
Wed, 11 Jul 2018 08:27:48 +0000 (10:27 +0200)
committerChocobozzz <me@florianbigard.com>
Wed, 11 Jul 2018 08:29:29 +0000 (10:29 +0200)
client/src/app/+accounts/account-videos/account-videos.component.ts

index d4fcd7acfb513665fdee8a9f6345ae5a21f15c14..e5c1f58b0a0ce01c7807693e6c6096befa6abfc4 100644 (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()