]> git.immae.eu Git - github/Chocobozzz/PeerTube.git/blobdiff - client/src/app/+accounts/account-video-channels/account-video-channels.component.ts
Implement video channel views
[github/Chocobozzz/PeerTube.git] / client / src / app / +accounts / account-video-channels / account-video-channels.component.ts
similarity index 92%
rename from client/src/app/+account/account-video-channels/account-video-channels.component.ts
rename to client/src/app/+accounts/account-video-channels/account-video-channels.component.ts
index 8915eb6229c78fb6bf04f2e8d9e788c54788a519..4c5782f9df0f644a533b01400d0ea85100cbe145 100644 (file)
@@ -26,7 +26,7 @@ export class AccountVideoChannelsComponent implements OnInit {
     // Parent get the account for us
     this.accountService.accountLoaded
         .do(account => this.account = account)
-        .flatMap(account => this.videoChannelService.getVideoChannels(account.id))
+        .flatMap(account => this.videoChannelService.listAccountVideoChannels(account.id))
         .map(res => res.data)
         .subscribe(videoChannels => this.videoChannels = videoChannels)
   }