X-Git-Url: https://git.immae.eu/?a=blobdiff_plain;f=client%2Fsrc%2Fapp%2F%2Baccounts%2Faccounts.component.ts;h=4fea0e4edc99abdfcdfdf0be2fabf521ca1a47b0;hb=24e7916c6897bbb38e057cdf1a102286006be964;hp=a8157de0e5bf194afdbe218e39512e34f57a1dc1;hpb=338eb9d33af690db716805fd2277bf68f473b58f;p=github%2FChocobozzz%2FPeerTube.git diff --git a/client/src/app/+accounts/accounts.component.ts b/client/src/app/+accounts/accounts.component.ts index a8157de0e..4fea0e4ed 100644 --- a/client/src/app/+accounts/accounts.component.ts +++ b/client/src/app/+accounts/accounts.component.ts @@ -10,6 +10,7 @@ import { User, UserRight } from '../../../../shared' import { I18n } from '@ngx-translate/i18n-polyfill' import { VideoChannelService } from '@app/shared/video-channel/video-channel.service' import { VideoChannel } from '@app/shared/video-channel/video-channel.model' +import { ListOverflowItem } from '@app/shared/misc/list-overflow.component' @Component({ templateUrl: './accounts.component.html', @@ -19,6 +20,7 @@ export class AccountsComponent implements OnInit, OnDestroy { account: Account accountUser: User videoChannels: VideoChannel[] = [] + links: ListOverflowItem[] = [] isAccountManageable = false accountFollowerTitle = '' @@ -70,6 +72,12 @@ export class AccountsComponent implements OnInit, OnDestroy { err => this.notifier.error(err.message) ) + + this.links = [ + { label: this.i18n('Video channels'), routerLink: 'video-channels' }, + { label: this.i18n('Videos'), routerLink: 'videos' }, + { label: this.i18n('About'), routerLink: 'about' } + ] } ngOnDestroy () {