From c7b514157b9027ade3ad6e202effda72ac937d1b Mon Sep 17 00:00:00 2001 From: Chocobozzz Date: Wed, 11 Jul 2018 10:27:48 +0200 Subject: Fix account videos URL when scrolling --- client/src/app/+accounts/account-videos/account-videos.component.ts | 4 ++-- 1 file 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' 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() -- cgit v1.2.3