aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorChocobozzz <me@florianbigard.com>2018-07-11 10:27:48 +0200
committerChocobozzz <me@florianbigard.com>2018-07-11 10:29:29 +0200
commitc7b514157b9027ade3ad6e202effda72ac937d1b (patch)
tree91bd7facd35a614b8e3886e11a513b9de9d7c1ef
parent672ce6ecf4b8d0730354d2c248ffed373ba8a8b1 (diff)
downloadPeerTube-c7b514157b9027ade3ad6e202effda72ac937d1b.tar.gz
PeerTube-c7b514157b9027ade3ad6e202effda72ac937d1b.tar.zst
PeerTube-c7b514157b9027ade3ad6e202effda72ac937d1b.zip
Fix account videos URL when scrolling
-rw-r--r--client/src/app/+accounts/account-videos/account-videos.component.ts4
1 files changed, 2 insertions, 2 deletions
diff --git a/client/src/app/+accounts/account-videos/account-videos.component.ts b/client/src/app/+accounts/account-videos/account-videos.component.ts
index d4fcd7acf..e5c1f58b0 100644
--- a/client/src/app/+accounts/account-videos/account-videos.component.ts
+++ b/client/src/app/+accounts/account-videos/account-videos.component.ts
@@ -25,7 +25,7 @@ import { ScreenService } from '@app/shared/misc/screen.service'
25export class AccountVideosComponent extends AbstractVideoList implements OnInit, OnDestroy { 25export class AccountVideosComponent extends AbstractVideoList implements OnInit, OnDestroy {
26 titlePage: string 26 titlePage: string
27 marginContent = false // Disable margin 27 marginContent = false // Disable margin
28 currentRoute = '/account/videos' 28 currentRoute = '/accounts/videos'
29 loadOnInit = false 29 loadOnInit = false
30 30
31 private account: Account 31 private account: Account
@@ -55,7 +55,7 @@ export class AccountVideosComponent extends AbstractVideoList implements OnInit,
55 this.accountSub = this.accountService.accountLoaded 55 this.accountSub = this.accountService.accountLoaded
56 .subscribe(account => { 56 .subscribe(account => {
57 this.account = account 57 this.account = account
58 this.currentRoute = '/account/' + this.account.nameWithHost + '/videos' 58 this.currentRoute = '/accounts/' + this.account.nameWithHost + '/videos'
59 59
60 this.reloadVideos() 60 this.reloadVideos()
61 this.generateSyndicationList() 61 this.generateSyndicationList()